[PATCH] D74843: [llvm-objdump] Add entry_value locations to variable display

Oliver Stannard (Linaro) via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 08:45:23 PST 2020


ostannard created this revision.
ostannard added reviewers: jhenderson, keith.walker.arm, aprantl, djtodoro, grimar.
Herald added subscribers: rupprecht, hiraditya.
Herald added a project: LLVM.
ostannard added a parent revision: D74841: [llvm-objdump] Add simple memory expressions to variable display.

This adds the DW_OP_entry_value and DW_OP_stack_value opcodes to the DWARF expression printer, needed to display variable locations which refer to the value of an expression at entry to the function.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74843

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h
  llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
  llvm/test/tools/llvm-objdump/ARM/debug-vars-entry-value.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74843.245422.patch
Type: text/x-patch
Size: 6677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200219/ac027d0b/attachment.bin>


More information about the llvm-commits mailing list