aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorPaolo Severini <paolosev@microsoft.com>2020-03-26 14:26:31 -0700
committerPaolo Severini <paolosev@microsoft.com>2020-03-26 14:26:31 -0700
commitaff75e1a1facbc6cc274070690ff3d725325c0f1 (patch)
tree6253463fd50770f2cf7fe557c72336631bbd1ef3 /llvm/lib/CodeGen/MachineOperand.cpp
parent196286434d02d55e7a0e4e983de1c92187638a1b (diff)
downloadllvm-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