]> granicus.if.org Git - llvm/commit
Reland "[LiveDebugValues] Emit the debug entry values"
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>
Tue, 9 Jul 2019 08:36:34 +0000 (08:36 +0000)
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>
Tue, 9 Jul 2019 08:36:34 +0000 (08:36 +0000)
commit7936dfdc22ca82c76f4740c694e9078158845de6
tree7fb9f37d72c8d72fcc2cc73c7103c7b221504387
parenta079d8ef8254fe18ddca5884446f84be5f338ea8
Reland "[LiveDebugValues] Emit the debug entry values"

Emit replacements for clobbered parameters location if the parameter
has unmodified value throughout the funciton. This is basic scenario
where we can use the debug entry values.

([12/13] Introduce the debug entry values.)

Co-authored-by: Ananth Sowda <asowda@cisco.com>
Co-authored-by: Nikola Prica <nikola.prica@rt-rk.com>
Co-authored-by: Ivan Baev <ibaev@cisco.com>
Differential Revision: https://reviews.llvm.org/D58042

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365444 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/LiveDebugValues.cpp
lib/CodeGen/MachineVerifier.cpp
test/DebugInfo/MIR/X86/avoid-single-entry-value-location.mir [new file with mode: 0644]
test/DebugInfo/MIR/X86/dbginfo-entryvals.mir [new file with mode: 0644]
test/DebugInfo/MIR/X86/multiple-param-dbg-value-entry.mir [new file with mode: 0644]