diff options
| author | Keno Fischer <keno@alumni.harvard.edu> | 2019-06-26 00:52:42 +0000 |
|---|---|---|
| committer | Keno Fischer <keno@alumni.harvard.edu> | 2019-06-26 00:52:42 +0000 |
| commit | cadcb9eb6131e30b38e67991fbf034e22c7c0bfd (patch) | |
| tree | 45eba5441be38ddb5d86c63266d712efc2c78fe6 /llvm/lib/CodeGen/GCMetadata.cpp | |
| parent | 5242fbde5a2610bc72b09bfae03f916f1c78e53d (diff) | |
| download | bcm5719-llvm-cadcb9eb6131e30b38e67991fbf034e22c7c0bfd.tar.gz bcm5719-llvm-cadcb9eb6131e30b38e67991fbf034e22c7c0bfd.zip | |
[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
Diffstat (limited to 'llvm/lib/CodeGen/GCMetadata.cpp')
0 files changed, 0 insertions, 0 deletions

