1
Fork 0

fix: I meant LLVM version 13, not 12

This commit is contained in:
Augie Fackler 2021-03-19 16:46:40 -04:00
parent dcdb9ad3d2
commit babe894bab
3 changed files with 3 additions and 3 deletions

View file

@ -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);