projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e589067
)
Fix build following r357308 : Ensure only live thunks are considered when creating...
author
Alexandre Ganea
<alexandre.ganea@ubisoft.com>
Fri, 29 Mar 2019 21:24:19 +0000
(21:24 +0000)
committer
Alexandre Ganea
<alexandre.ganea@ubisoft.com>
Fri, 29 Mar 2019 21:24:19 +0000
(21:24 +0000)
llvm-svn: 357316
lld/COFF/PDB.cpp
patch
|
blob
|
history
diff --git
a/lld/COFF/PDB.cpp
b/lld/COFF/PDB.cpp
index
b69eac8
..
c27212d
100644
(file)
--- a/
lld/COFF/PDB.cpp
+++ b/
lld/COFF/PDB.cpp
@@
-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) {