[PATCH] D96001: [WebAssembly][lld] Preassign table number 0 to indirect function table for MVP inputs

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 9 08:05:58 PST 2021


sbc100 added inline comments.


================
Comment at: lld/wasm/InputFiles.cpp:333
+// relocations.  The linker must ensure that they have the same numbers in the
+// output as in the input.
+void ObjFile::synthesizeMVPIndirectFunctionTableSymbolIfNeeded(
----------------
For this last paragraphs how about:

"Table usage in MVP objects cannot be relocatates so the linker must ensure that this
table gets assigned index zero".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96001



More information about the llvm-commits mailing list