Update renamed LLVM sanitizer passes This integrates cl/472657058 and updates the LLVM-Submodule backend for Reactor to the matching revision. Bug: b/165000222 Change-Id: Ibc7329f6202cdb4846663c9ff024c386bc65c25a Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/68048 Tested-by: Nicolas Capens <nicolascapens@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com>
diff --git a/src/Reactor/LLVMJIT.cpp b/src/Reactor/LLVMJIT.cpp index 06ec887..4e784ac 100644 --- a/src/Reactor/LLVMJIT.cpp +++ b/src/Reactor/LLVMJIT.cpp
@@ -935,12 +935,11 @@ { llvm::MemorySanitizerOptions msanOpts(0 /* TrackOrigins */, false /* Recover */, false /* Kernel */, true /* EagerChecks */); pm.addPass(llvm::ModuleMemorySanitizerPass(msanOpts)); - pm.addPass(llvm::createModuleToFunctionPassAdaptor(llvm::MemorySanitizerPass(msanOpts))); } if(__has_feature(address_sanitizer) && ADDRESS_SANITIZER_INSTRUMENTATION_SUPPORTED) { - pm.addPass(llvm::ModuleAddressSanitizerPass(llvm::AddressSanitizerOptions{})); + pm.addPass(llvm::AddressSanitizerPass(llvm::AddressSanitizerOptions{})); } pm.run(*module, mam);
diff --git a/third_party/llvm-project b/third_party/llvm-project index fc3b34c..7354a73 160000 --- a/third_party/llvm-project +++ b/third_party/llvm-project
@@ -1 +1 @@ -Subproject commit fc3b34c50803274b8ba3b8a30df9177b7d29063c +Subproject commit 7354a73945f1c123d66b01f51374ecbdba18fab3