5eae90d727c64ca5b4b43b110521b38dcd9f0de6 |
|
04-Sep-2012 |
Alexey Samsonov <samsonov@google.com> |
Add support for fetching inlining context (stack of source code locations) by instruction address from DWARF. Add --inlining flag to llvm-dwarfdump to demonstrate and test this functionality, so that "llvm-dwarfdump --inlining --address=0x..." now works much like "addr2line -i 0x...", provided that the binary has debug info (Clang's -gline-tables-only *is* enough). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163128 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
|
eceb5b99777ba944a0ae3748a0371e9a3aa94d56 |
|
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
Add basic support for .debug_ranges section to LLVM's DebugInfo library. This section (introduced in DWARF-3) is used to define instruction address ranges for functions that are not contiguous and can't be described by low_pc/high_pc attributes (this is the usual case for inlined subroutines). The patch is the first step to support fetching complete inlining info from DWARF. Reviewed by Benjamin Kramer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162657 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
|
71d94f805514f28730bf39143ee227648d521d09 |
|
19-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
DebugInfo library: add support for fetching absolute paths to source files (instead of basenames) from DWARF. Use this behavior in llvm-dwarfdump tool. Reviewed by Benjamin Kramer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160496 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
|
3e25c4a1e3e58bc1d00d894854a29dd2e4e7e88a |
|
02-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
This patch extends the libLLVMDebugInfo which contains a minimalistic DWARF parser: 1) DIContext is now able to return function name for a given instruction address (besides file/line info). 2) llvm-dwarfdump accepts flag --functions that prints the function name (if address is specified by --address flag). 3) test case that checks the basic functionality of llvm-dwarfdump added git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159512 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
|
20990397a4c9830bf37e393ec5239efeaa6c0431 |
|
07-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Fix a few changes I missed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141392 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
|
6b3ae4638bc5a3fb3bad286f96a1234b8a53053a |
|
15-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
llvm-dwarfdump: Add an option to print out line info for a specific address Usage: $ llvm-dwarfdump -address=0x0000000100000ed4 a.out.dSYM/Contents/Resources/DWARF/a.out xxx.c:6:0 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139850 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
|
34f864fd382156331c61fbb6b7ae4828108b9d69 |
|
15-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
DWARF: wire up .debug_str dumping. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139799 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
|
b848e976110a2c4f0a6a9e252115ba291c844fbe |
|
15-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
DWARF: Add basic support for line tables. The llvm-dwarfdump output isn't very verbose yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139771 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
|
1c0b24f91a5a6f3aeca483e753e7fd27357ecb71 |
|
14-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
llvm-dwarfdump: Make the "is debug info section" heuristic stricter so it doesn't accidentaly picks up the wrong section. Also add some validation code to the aranges section parser. Fixes PR10926. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139701 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
|
358f4fd9ee078b3c79597fc688855fb48bc1f356 |
|
14-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
DWARF: Port support for parsing .debug_aranges section from LLDB and wire it up to llvm-dwarfdump. This is only one half of it, the part that caches address ranges from the DIEs when .debug_aranges is not available will be ported soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139680 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
|
72c0d7fdd3d0930c7507060e96aec7d7429a8190 |
|
13-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Sketch out a DWARF parser. This introduces a new library to LLVM: libDebugInfo. It will provide debug information parsing to LLVM. Much of the design and some of the code is taken from the LLDB project. It also contains an llvm-dwarfdump tool that can dump the abbrevs and DIEs from an object file. It can be used to write tests for DWARF input and output easily. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139627 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
|