[PATCH] D59074: [WebAssembly] Fix build after rL355577

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 20:19:19 PST 2019


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL355580: [WebAssembly] Fix build after rL355577 (authored by sbc, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D59074?vs=189645&id=189646#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59074/new/

https://reviews.llvm.org/D59074

Files:
  lld/trunk/wasm/Writer.cpp


Index: lld/trunk/wasm/Writer.cpp
===================================================================
--- lld/trunk/wasm/Writer.cpp
+++ lld/trunk/wasm/Writer.cpp
@@ -950,7 +950,7 @@
   };
 
   for (Symbol *Sym : Symtab->getSymbols())
-    if (Sym->IsUsedInRegularObj)
+    if (!Sym->isLazy() && Sym->IsUsedInRegularObj)
       AddSymbol(Sym);
 
   for (ObjFile *File : Symtab->ObjectFiles) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59074.189646.patch
Type: text/x-patch
Size: 391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190307/549a16af/attachment.bin>


More information about the llvm-commits mailing list