mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-18 22:26:16 +00:00
[WebAssembly] Fix build after rL355577
Turns own that IsUsedInRegularObject is set for lazy (archive) symbols. Differential Revision: https://reviews.llvm.org/D59074 llvm-svn: 355580
This commit is contained in:
parent
67fb9b4a31
commit
9361217ea2
@ -950,7 +950,7 @@ void Writer::assignSymtab() {
|
||||
};
|
||||
|
||||
for (Symbol *Sym : Symtab->getSymbols())
|
||||
if (Sym->IsUsedInRegularObj)
|
||||
if (!Sym->isLazy() && Sym->IsUsedInRegularObj)
|
||||
AddSymbol(Sym);
|
||||
|
||||
for (ObjFile *File : Symtab->ObjectFiles) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user