Handle DBG_CALLSITE and DBG_CALLSITEPARAM meta instructions through backend pipeline. It partially relies on the way DBG_VALUE is handled.
Authors: @asowda, @NikolaPrica, @djtodoro, @ivanbaev
Paths
| Differential D58041
[Backend] DBG_CALLSITE & DBG_CALLSITEPARAM instr handling AbandonedPublic Authored by djtodoro on Feb 11 2019, 3:45 AM.
Details
Summary Handle DBG_CALLSITE and DBG_CALLSITEPARAM meta instructions through backend pipeline. It partially relies on the way DBG_VALUE is handled. Authors: @asowda, @NikolaPrica, @djtodoro, @ivanbaev
Diff Detail Event TimelineHerald added subscribers: tpr, atanasyan, javed.absar and 4 others. · View Herald TranscriptFeb 11 2019, 3:45 AM djtodoro added a parent revision: D58040: [ISel] Emit DBG CALLSITE/CALLSITEPARAM instrs.Feb 11 2019, 3:45 AM djtodoro added a child revision: D58042: [LiveDebugValues] Emit parameter's entry value.Feb 11 2019, 3:51 AM dstenb added inline comments.
dstenb mentioned this in D58042: [LiveDebugValues] Emit parameter's entry value.Feb 13 2019, 1:19 PM djtodoro removed a child revision: D58042: [LiveDebugValues] Emit parameter's entry value.Apr 15 2019, 8:50 AM
Revision Contents
Diff 186626 include/llvm/BinaryFormat/Dwarf.def
include/llvm/CodeGen/MachineBasicBlock.h
include/llvm/CodeGen/MachineInstrBuilder.h
include/llvm/IR/DebugInfoMetadata.h
lib/CodeGen/CalcSpillWeights.cpp
lib/CodeGen/InlineSpiller.cpp
lib/CodeGen/LexicalScopes.cpp
lib/CodeGen/LiveDebugVariables.cpp
lib/CodeGen/LiveInterval.cpp
lib/CodeGen/LiveIntervals.cpp
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/MachineRegisterInfo.cpp
lib/CodeGen/MachineVerifier.cpp
lib/CodeGen/PostRASchedulerList.cpp
lib/CodeGen/PrologEpilogInserter.cpp
lib/CodeGen/RegAllocFast.cpp
lib/CodeGen/RegisterCoalescer.cpp
lib/CodeGen/ScheduleDAGInstrs.cpp
lib/CodeGen/SplitKit.cpp
lib/CodeGen/StackColoring.cpp
lib/CodeGen/StackSlotColoring.cpp
lib/CodeGen/TailDuplicator.cpp
lib/CodeGen/VirtRegMap.cpp
lib/IR/DebugInfoMetadata.cpp
lib/Target/Mips/MipsAsmPrinter.cpp
lib/Target/X86/X86CallFrameOptimization.cpp
lib/Target/X86/X86FrameLowering.cpp
test/DebugInfo/MIR/X86/dbginfo-loading-stack-param.mir
test/DebugInfo/MIR/X86/dbginfo-param-replace-global.mir
test/DebugInfo/X86/transfer-call-param-sdnode.ll
|
The iterator does seem to be invalidated here (or am I overlooking something?), so you should be able to use BB.instrs() here instead.