[PATCH] [dwarfdump] Pretty print location expressions and location lists
Frederic Riss
friss at apple.com
Tue Jan 27 09:58:57 PST 2015
I reworked it a bit more than just addressing the review comments. Instead of just
offering a pretty-printing function, expose a real class that allows clients to
walk over the expression operations using an iterator interface. The iterator is
a bit strange because of its lazy extraction semantics and the error handling that
goes with it, but I think it looks quite usable. The pretty-printing is then
implemented over that iterator interface.
http://reviews.llvm.org/D6771
Files:
include/llvm/DebugInfo/DWARFContext.h
include/llvm/DebugInfo/DWARFDebugLoc.h
include/llvm/DebugInfo/DWARFExpression.h
include/llvm/MC/MCRegisterInfo.h
lib/DebugInfo/CMakeLists.txt
lib/DebugInfo/DWARFContext.cpp
lib/DebugInfo/DWARFDebugInfoEntry.cpp
lib/DebugInfo/DWARFDebugLoc.cpp
lib/DebugInfo/DWARFExpression.cpp
lib/MC/MCRegisterInfo.cpp
test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
test/CodeGen/ARM/debug-info-sreg2.ll
test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll
test/DebugInfo/AArch64/coalescing.ll
test/DebugInfo/ARM/s-super-register.ll
test/DebugInfo/SystemZ/variable-loc.ll
test/DebugInfo/X86/DW_AT_location-reference.ll
test/DebugInfo/X86/block-capture.ll
test/DebugInfo/X86/data_member_location.ll
test/DebugInfo/X86/dbg-merge-loc-entry.ll
test/DebugInfo/X86/dbg-value-const-byref.ll
test/DebugInfo/X86/debug-info-blocks.ll
test/DebugInfo/X86/debug-loc-offset.ll
test/DebugInfo/X86/fission-cu.ll
test/DebugInfo/X86/fission-ranges.ll
test/DebugInfo/X86/op_deref.ll
test/DebugInfo/X86/parameters.ll
test/DebugInfo/X86/pieces-1.ll
test/DebugInfo/X86/pieces-2.ll
test/DebugInfo/X86/pieces-3.ll
test/DebugInfo/X86/subregisters.ll
test/DebugInfo/X86/template.ll
test/DebugInfo/dwarfdump-debug-loc-simple.test
test/DebugInfo/incorrect-variable-debugloc1.ll
tools/llvm-dwarfdump/CMakeLists.txt
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6771.18823.patch
Type: text/x-patch
Size: 58918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150127/38a63dbb/attachment.bin>
More information about the llvm-commits
mailing list