[all-commits] [llvm/llvm-project] 7fc259: [DebugInfo][RemoveDIs] "Final" cleanup for non-ins...
Jeremy Morse via All-commits
all-commits at lists.llvm.org
Tue Jan 23 14:53:40 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7fc25928233c133a4af1dadf0e060fb5d42ebd4e
https://github.com/llvm/llvm-project/commit/7fc25928233c133a4af1dadf0e060fb5d42ebd4e
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
M llvm/include/llvm/IR/Function.h
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/test/DebugInfo/salvage-limit-expr-size.ll
M llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-localvars.ll
Log Message:
-----------
[DebugInfo][RemoveDIs] "Final" cleanup for non-instr debug-info (#79121)
Here's a raft of minor fixes for the RemoveDIs project that's replacing
dbg.value intrinsics with DPValue objects, all IMO trivial:
* When inserting functions or blocks and calling setIsNewDbgInfoFormat,
do that after setting the Parent pointer, just in case conversion from
(or to) dbg.value mode is triggered.
* When transferring DPValues from an empty range in a splice call, don't
transfer if there are no DPValues attached to the source block at all.
* stripNonLineTableDebugInfo should drop DPValues.
* In insertBefore, don't try to transfer DPValues if there aren't any.
More information about the All-commits
mailing list