diff options
author | Paolo Severini <paolosev@microsoft.com> | 2020-03-26 14:26:31 -0700 |
---|---|---|
committer | Paolo Severini <paolosev@microsoft.com> | 2020-03-26 14:26:31 -0700 |
commit | aff75e1a1facbc6cc274070690ff3d725325c0f1 (patch) | |
tree | 6253463fd50770f2cf7fe557c72336631bbd1ef3 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 196286434d02d55e7a0e4e983de1c92187638a1b (diff) | |
download | llvm-aff75e1a1facbc6cc274070690ff3d725325c0f1.zip llvm-aff75e1a1facbc6cc274070690ff3d725325c0f1.tar.gz llvm-aff75e1a1facbc6cc274070690ff3d725325c0f1.tar.bz2 |
[lld][Wasm] Wasm-ld emits invalid .debug_ranges entries for non-live symbols
When the debug info contains a relocation against a dead symbol, wasm-ld
may emit spurious range-list terminator entries (entries with Start==0
and End==0). This change fixes this by emitting the WasmRelocation
Addend as End value for a non-live symbol.
Reviewed by: sbc100, dblaikie
Differential Revision: https://reviews.llvm.org/D74781
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions