[PATCH] D91637: [WebAssembly] Only emit indirect function table import if needed

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 21 23:33:51 PST 2020


sbc100 added inline comments.


================
Comment at: llvm/lib/MC/WasmObjectWriter.cpp:503
+      Type == wasm::R_WASM_TABLE_INDEX_I64) {
+    // TABLE_INDEX relocs implicitly use the default indirect function table.
+    auto TableName = "__indirect_function_table";
----------------
Perhaps add a TODO here since we probably don't to keep this here long right? 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91637



More information about the llvm-commits mailing list