about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorAugie Fackler <augie@google.com>2021-03-19 16:46:40 -0400
committerAugie Fackler <augie@google.com>2021-03-19 16:46:40 -0400
commitbabe894bab47e43c2a884fe367095905e4e88993 (patch)
treef9fd4d3ba946ba816cf0076aa580aabc292a3470 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentdcdb9ad3d27aca6185af64f2e0318ed47860c6c0 (diff)
downloadrust-babe894bab47e43c2a884fe367095905e4e88993.tar.gz
rust-babe894bab47e43c2a884fe367095905e4e88993.zip
fix: I meant LLVM version 13, not 12
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
index eaccbfd6373..f1a898b324c 100644
--- a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
@@ -1437,7 +1437,7 @@ LLVMRustCreateThinLTOData(LLVMRustThinLTOModule *modules,
     Ret->ResolvedODR[ModuleIdentifier][GUID] = NewLinkage;
   };
 
-#if LLVM_VERSION_GE(12,0)
+#if LLVM_VERSION_GE(13,0)
   lto::Config conf;
   thinLTOResolvePrevailingInIndex(conf, Ret->Index, isPrevailing, recordNewLinkage,
                                   Ret->GUIDPreservedSymbols);