[PATCH] D34734: [WebAssembly] MC: Don't generate extra types for weak alias

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 15:32:44 PDT 2017


sbc100 added inline comments.


================
Comment at: lib/MC/WasmObjectWriter.cpp:962
   for (const MCSymbol &S : Asm.symbols()) {
+    if (S.isVariable())
+      continue;
----------------
dschuff wrote:
> so a weak alias both `isVariable()` and `isFunction()`?
Yup


https://reviews.llvm.org/D34734





More information about the llvm-commits mailing list