We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82d17a4 commit 3a35288Copy full SHA for 3a35288
compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
@@ -1211,7 +1211,11 @@ struct LLVMRustThinLTOData {
1211
// Not 100% sure what these are, but they impact what's internalized and
1212
// what's inlined across modules, I believe.
1213
#if LLVM_VERSION_GE(18, 0)
1214
+#if LLVM_VERSION_GE(20, 0)
1215
+ FunctionImporter::ImportListsTy ImportLists;
1216
+#else
1217
DenseMap<StringRef, FunctionImporter::ImportMapTy> ImportLists;
1218
+#endif
1219
DenseMap<StringRef, FunctionImporter::ExportSetTy> ExportLists;
1220
DenseMap<StringRef, GVSummaryMapTy> ModuleToDefinedGVSummaries;
1221
#else
0 commit comments