]> granicus.if.org Git - llvm/commit
[DWARF] Handle the DW_OP_entry_value operand
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>
Thu, 27 Jun 2019 13:52:34 +0000 (13:52 +0000)
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>
Thu, 27 Jun 2019 13:52:34 +0000 (13:52 +0000)
commit192906bcfde8c1476bb6371e6d0d2411bdf73219
tree702cd34ced97168f59ab8c47795b071389aac4e8
parentc2a0046960128f0f09a43b95546bb4f2e623619b
[DWARF] Handle the DW_OP_entry_value operand

Add the IR and the AsmPrinter parts for handling of the DW_OP_entry_values
DWARF operation.

([11/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/D60866

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364542 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
docs/LangRef.rst
include/llvm/BinaryFormat/Dwarf.def
include/llvm/IR/DebugInfoMetadata.h
lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
lib/CodeGen/AsmPrinter/DebugLocEntry.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfExpression.cpp
lib/CodeGen/AsmPrinter/DwarfExpression.h
lib/DebugInfo/DWARF/DWARFExpression.cpp
lib/IR/DebugInfoMetadata.cpp
test/Verifier/diexpression-entry-value.ll [new file with mode: 0644]
test/Verifier/diexpression-valid-entry-value.ll [new file with mode: 0644]
test/tools/llvm-dwarfdump/X86/debug_loc_OP_GNU_entry_value.s [new file with mode: 0644]
test/tools/llvm-dwarfdump/X86/debug_loc_OP_entry_value.s [new file with mode: 0644]