about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2023-07-27 14:07:08 -0700
committerJosh Stone <jistone@redhat.com>2023-07-27 14:07:08 -0700
commit190ded84434f435b9626a07278b9ed0e7603bd11 (patch)
tree7c607136ad3c78101e320d8a0973afb20cdf7de9 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent9339f446a5302cd5041d3f3b5e59761f36699167 (diff)
downloadrust-190ded84434f435b9626a07278b9ed0e7603bd11.tar.gz
rust-190ded84434f435b9626a07278b9ed0e7603bd11.zip
Update the minimum external LLVM to 15
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
index 71df17c9ce7..ebf8a50ae8b 100644
--- a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
@@ -801,9 +801,6 @@ LLVMRustOptimize(
       OptimizerLastEPCallbacks.push_back(
         [SanitizerOptions](ModulePassManager &MPM, OptimizationLevel Level) {
           auto CompileKernel = SanitizerOptions->SanitizeKernelAddress;
-#if LLVM_VERSION_LT(15, 0)
-          MPM.addPass(RequireAnalysisPass<ASanGlobalsMetadataAnalysis, Module>());
-#endif
           AddressSanitizerOptions opts = AddressSanitizerOptions{
             CompileKernel,
             SanitizerOptions->SanitizeAddressRecover