commit | cadcb9eb6131e30b38e67991fbf034e22c7c0bfd | [log] [tgz] |
---|---|---|
author | Keno Fischer <keno@alumni.harvard.edu> | Wed Jun 26 00:52:42 2019 |
committer | Keno Fischer <keno@alumni.harvard.edu> | Wed Jun 26 00:52:42 2019 |
tree | 45eba5441be38ddb5d86c63266d712efc2c78fe6 | |
parent | 5242fbde5a2610bc72b09bfae03f916f1c78e53d [diff] |
[WebAssembly] Fix list of relocations with addends in lld Summary: The list of relocations with addend in lld was missing `R_WASM_MEMORY_ADDR_REL_SLEB`, causing `wasm-ld` to generate corrupted output. This fixes that problem and while we're at it pulls the list of such relocations into the Wasm.h header, to avoid duplicating it in multiple places. Reviewers: sbc100 Differential Revision: https://reviews.llvm.org/D63696 llvm-svn: 364367