[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 12 14:59:09 PDT 2019


dschuff added inline comments.


================
Comment at: llvm/lib/Object/WasmObjectFile.cpp:764
     if (Reloc.Offset < PreviousOffset)
       return make_error<GenericBinaryError>("Relocations not in offset order",
                                             object_error::parse_failed);
----------------
@sbc100 When I run the test (see symbol-offsets.s) I'm running into this error when I hit the R_WASM_TABLE_INDEX_I32_ADDEND reloc. Any idea why this might be happening?


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