[all-commits] [llvm/llvm-project] a0f43b: [RISCV] Move DebugLoc Copy into CompressInstEmitter
Sam Elliott via All-commits
all-commits at lists.llvm.org
Fri Dec 13 12:01:14 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a0f43b0043581b37b10d105a85f0653704d3657b
https://github.com/llvm/llvm-project/commit/a0f43b0043581b37b10d105a85f0653704d3657b
Author: Sam Elliott <selliott at lowrisc.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
A llvm/test/MC/RISCV/compress-debug-info.s
M llvm/utils/TableGen/RISCVCompressInstEmitter.cpp
Log Message:
-----------
[RISCV] Move DebugLoc Copy into CompressInstEmitter
Summary:
This copy ensures that debug location information is kept for
compressed instructions. There are places where both compressInstruction and
uncompressInstruction are called that were not doing this copy, discarding some
debug info.
This change merely moves the copy into the generated file, so you cannot forget
to copy the location over when compressing or uncompressing.
Reviewers: asb, luismarques
Reviewed By: luismarques
Subscribers: sameer.abuasal, aprantl, hiraditya, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna, Jim, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67493
More information about the All-commits
mailing list