Previously we were writing the value function index space
value but for these types of relocations we want to be
writing the table element index space value.
Add a test case for these relocation types that fails
without this change.
Paths
| Differential D33962
[WebAssembly] MC: Fix value of R_WEBASSEMBLY_TABLE_INDEX relocations ClosedPublic Authored by sbc100 on Jun 6 2017, 2:52 PM.
Details Summary Previously we were writing the value function index space Add a test case for these relocation types that fails
Diff Detail
Event TimelineHerald added subscribers: jgravelle-google, dschuff, jfb. · View Herald TranscriptJun 6 2017, 2:52 PM Comment Actions
This revision is now accepted and ready to land.Jun 12 2017, 4:09 PM
Closed by commit rL305253: [WebAssembly] MC: Fix value of R_WEBASSEMBLY_TABLE_INDEX relocations (authored by sbc). · Explain WhyJun 12 2017, 4:53 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 102263 llvm/trunk/lib/MC/WasmObjectWriter.cpp
llvm/trunk/test/MC/WebAssembly/func-address.ll
|