forked from pool/nodejs-electron
- aarch64, riscv64: fix build with LLVM 18 * swiftshader-llvm18-LLVMReactor-getInt8PtrTy.patch gh#llvm/llvm-project#71029 * swiftshader-llvm18-LLVMJIT-Host.patch gh#llvm/llvm-project#74261 * swiftshader-llvm18-LLVMJIT-CodeGenOptLevel.patch gh#llvm/llvm-project#66295 OBS-URL: https://build.opensuse.org/request/show/1158787 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=134
14 lines
613 B
Diff
14 lines
613 B
Diff
https://github.com/llvm/llvm-project/pull/74261
|
|
|
|
--- src/third_party/swiftshader/src/Reactor/LLVMJIT.cpp.orig 2024-03-13 17:28:56.716633400 +0100
|
|
+++ src/third_party/swiftshader/src/Reactor/LLVMJIT.cpp 2024-03-16 23:41:43.769435900 +0100
|
|
@@ -47,7 +47,7 @@ __pragma(warning(push))
|
|
#include "llvm/IR/DiagnosticInfo.h"
|
|
#include "llvm/IR/Verifier.h"
|
|
#include "llvm/Support/CommandLine.h"
|
|
-#include "llvm/Support/Host.h"
|
|
+#include "llvm/TargetParser/Host.h"
|
|
#include "llvm/Support/TargetSelect.h"
|
|
#include "llvm/Transforms/InstCombine/InstCombine.h"
|
|
#include "llvm/Transforms/Instrumentation/AddressSanitizer.h"
|