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

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 09:04:26 PDT 2017


dschuff added inline comments.


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


https://reviews.llvm.org/D34734





More information about the llvm-commits mailing list