[PATCH] D63742: [WebAssembly] Implement Address Sanitizer for Emscripten

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 08:51:42 PDT 2019


sbc100 added inline comments.


================
Comment at: lld/wasm/Writer.cpp:228
+  if (WasmSym::GlobalBase)
+    WasmSym::GlobalBase->setVirtualAddress(Config->GlobalBase);
+
----------------
Surly if emscripten is passing in --global-base it already knows this value?  

Otherwise lgtm.   Perhaps split of the lld part into a separate change?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D63742





More information about the llvm-commits mailing list