forked from OSchip/llvm-project
Fix build following r357308 : Ensure only live thunks are considered when creating import modules
llvm-svn: 357316
This commit is contained in:
parent
e589067e61
commit
b13f064b5d
|
@ -1583,6 +1583,9 @@ void PDBLinker::addImportFilesToPDB(ArrayRef<OutputSection *> OutputSections) {
|
|||
if (!File->ThunkSym)
|
||||
continue;
|
||||
|
||||
if (!File->ThunkLive)
|
||||
continue;
|
||||
|
||||
std::string DLL = StringRef(File->DLLName).lower();
|
||||
llvm::pdb::DbiModuleDescriptorBuilder *&Mod = DllToModuleDbi[DLL];
|
||||
if (!Mod) {
|
||||
|
|
Loading…
Reference in New Issue