Page MenuHomePhabricator

[WebAssembly] Fix bug where reloc addends were written as unsigned
ClosedPublic

Authored by sbc100 on Apr 19 2018, 10:08 AM.

Details

Summary

relocation addends can be negative so should be written as
signed LEBs. This bug meant that writing value between 64
and 128 would be incorrectly interpreted as negative by the
object file readers.

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Apr 19 2018, 10:08 AM
sbc100 updated this revision to Diff 143117.Apr 19 2018, 10:09 AM

whitespace

Harbormaster completed remote builds in B17226: Diff 143117.
jgravelle-google accepted this revision.Apr 19 2018, 3:28 PM
This revision is now accepted and ready to land.Apr 19 2018, 3:28 PM
This revision was automatically updated to reflect the committed changes.