[PATCH] D46335: [WebAssembly] MC: Create and use first class section symbols

Yury Delendik via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 2 08:23:06 PDT 2018


yurydelendik added inline comments.


================
Comment at: lib/MC/WasmObjectWriter.cpp:512
+
+    SectionSymbol->setUsedInReloc();
+    C += Layout.getSymbolOffset(*SymA);
----------------
cast_or_null is used in if-else branch, do we need to check SectionSymbol?


Repository:
  rL LLVM

https://reviews.llvm.org/D46335





More information about the llvm-commits mailing list