[PATCH] D67525: [WIP] Add WASM_TABLE_INDEX_{SLEB,I32} reloc types with addends

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 10:48:50 PDT 2019


dschuff marked an inline comment as done.
dschuff added inline comments.


================
Comment at: llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp:153
-    if (WasmSym->isFunction())
-      report_fatal_error("Function addresses with offsets not supported");
     if (WasmSym->isGlobal())
----------------
sbc100 wrote:
> Can you link the bug where we discuessed this.  I'm having trouble remember why should even allow this give that it doesn't make any sense to do arithmetic on table indexes.
https://bugs.llvm.org/show_bug.cgi?id=43133


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67525





More information about the llvm-commits mailing list