diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2022-02-10 16:01:12 +0000 |
---|---|---|
committer | Jeremy Morse <jeremy.morse@sony.com> | 2022-02-10 16:36:50 +0000 |
commit | 662799c8511d345da000fd35e5591ac93a0b88e5 (patch) | |
tree | 40390ebc4de1c242fb09983ef31dfcdeff4e5ade /llvm/lib/Object/WasmObjectFile.cpp | |
parent | d88a146f2bc1422997f98ac9c8030af32e744433 (diff) | |
download | llvm-662799c8511d345da000fd35e5591ac93a0b88e5.zip llvm-662799c8511d345da000fd35e5591ac93a0b88e5.tar.gz llvm-662799c8511d345da000fd35e5591ac93a0b88e5.tar.bz2 |
[DebugInfo][InstrRef] Avoid duplicate instruction numbers in x86-lea-fixup
This new-ish LEA-fixup code path creates two substitutions for an
instruction number -- this is incorrect because each Value should be
replaced by a single replacement Value. Fix by deleting the duplicate
substitution. Add some test coverage for this path with debug-info
attached.
Differential Revision: https://reviews.llvm.org/D119232
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions