Pass GUIDPreservedSymbols to thinLTOResolvePrevailingInIndex()
This commit is contained in:
parent
9210359b18
commit
04304fcd16
1 changed files with 4 additions and 1 deletions
|
@ -913,7 +913,10 @@ LLVMRustCreateThinLTOData(LLVMRustThinLTOModule *modules,
|
|||
GlobalValue::LinkageTypes NewLinkage) {
|
||||
ResolvedODR[ModuleIdentifier][GUID] = NewLinkage;
|
||||
};
|
||||
#if LLVM_VERSION_GE(8, 0)
|
||||
#if LLVM_VERSION_GE(9, 0)
|
||||
thinLTOResolvePrevailingInIndex(Ret->Index, isPrevailing, recordNewLinkage,
|
||||
Ret->GUIDPreservedSymbols);
|
||||
#elif LLVM_VERSION_GE(8, 0)
|
||||
thinLTOResolvePrevailingInIndex(Ret->Index, isPrevailing, recordNewLinkage);
|
||||
#else
|
||||
thinLTOResolveWeakForLinkerInIndex(Ret->Index, isPrevailing, recordNewLinkage);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue