diff options
| author | Sam Estep <sam@samestep.com> | 2025-08-07 14:48:34 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-07 18:48:34 +0000 |
| commit | 4721b6ef2dd4e1b39c85acc492f9c6af8898a34b (patch) | |
| tree | 7416ef3e84f50782f9be56ac2a96394719d79c85 /source | |
| parent | 7cd8130e1a3dbcca8746e0577fb8df3bf2975bf8 (diff) | |
Update LLVM from 13.0.1 to 14.0.6 (#8031)
Full set of mutually exclusive choices for upgrading LLVM:
- #8031 (you are here)
- #8035
- #8036
- #8034
- #8038
- #8039
- #8033
Alternative to #8028. Required some minor changes due to these upstream
commits:
- llvm/llvm-project@e463b69736da8b0a950ecd937cf990401bdfcdeb
- llvm/llvm-project@89b57061f7b769e9ea9bf6ed686e284f3e55affe
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang-llvm/slang-llvm.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/slang-llvm/slang-llvm.cpp b/source/slang-llvm/slang-llvm.cpp index 2860874b5..81d7a9cf6 100644 --- a/source/slang-llvm/slang-llvm.cpp +++ b/source/slang-llvm/slang-llvm.cpp @@ -28,7 +28,6 @@ #include "llvm/Support/Path.h" #include "llvm/Support/Process.h" #include "llvm/Support/Signals.h" -#include "llvm/Support/TargetRegistry.h" #include "llvm/Support/TargetSelect.h" #include "llvm/Support/TimeProfiler.h" #include "llvm/Support/Timer.h" @@ -239,12 +238,12 @@ void* LLVMJITSharedLibrary::findSymbolAddressByName(char const* name) static void _ensureSufficientStack() {} -static void _llvmErrorHandler(void* userData, const std::string& message, bool genCrashDiag) +static void _llvmErrorHandler(void* userData, const char* message, bool genCrashDiag) { // DiagnosticsEngine& diags = *static_cast<DiagnosticsEngine*>(userData); // diags.Report(diag::err_fe_error_backend) << message; - printf("Clang/LLVM fatal error: %s\n", message.c_str()); + printf("Clang/LLVM fatal error: %s\n", message); // Run the interrupt handlers to make sure any special cleanups get done, in // particular that we remove files registered with RemoveFileOnSignal. |
