This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Fix typo in relocation checking
ClosedPublic

Authored by sbc100 on Apr 22 2019, 10:02 PM.

Details

Summary

Runtime relocation are generated for relocations of type
R_WASM_MEMORY_ADDR_I32 when in PIC mode (either -shared or -pie).

Followup on https://reviews.llvm.org/D60882.

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Apr 22 2019, 10:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2019, 10:03 PM
ruiu accepted this revision.Apr 22 2019, 10:16 PM

LGTM

It is a good idea to add a test to catch this though.

This revision is now accepted and ready to land.Apr 22 2019, 10:16 PM
sbc100 updated this revision to Diff 196247.Apr 23 2019, 7:46 AM
  • add test
This revision was automatically updated to reflect the committed changes.