[PATCH] D70720: [llvm-objdump] Display locations of variables alongside disassembly
Oliver Stannard (Linaro) via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 5 07:07:12 PST 2020
ostannard updated this revision to Diff 242603.
ostannard added a comment.
- Move DWARF expression printer into lib/DebugInfo/DWARF. I've left the LiveVariablePrinter class in llvm-objdump for now, because it's more tied into the rest of the disassembly loop (e.g. it needs to print after source line numbers). I'm not really sure what LLDB's requirements are here, but if we're going to move things to a library it might be worth moving more of the disassembly loop at the same time.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70720/new/
https://reviews.llvm.org/D70720
Files:
llvm/docs/CommandGuide/llvm-objdump.rst
llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h
llvm/include/llvm/Support/FormattedStream.h
llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
llvm/lib/Support/FormattedStream.cpp
llvm/test/tools/llvm-objdump/ARM/Inputs/debug.c
llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4-sections.s
llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf4.s
llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5-sections.s
llvm/test/tools/llvm-objdump/ARM/debug-vars-dwarf5.s
llvm/test/tools/llvm-objdump/PowerPC/debug-vars.s
llvm/tools/llvm-objdump/llvm-objdump.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70720.242603.patch
Type: text/x-patch
Size: 89069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200205/79132fa1/attachment-0001.bin>
More information about the llvm-commits
mailing list