Revision tags: llvmorg-3.3.1-rc1 |
|
#
18e73508 |
| 19-Jun-2013 |
David Blaikie <dblaikie@gmail.com> |
llvm-dwarfdump: Add support for dumping the .debug_loc section
This is a basic implementation - we still don't have any support (that I know of) for dumping DWARF expressions in a meaningful way, so
llvm-dwarfdump: Add support for dumping the .debug_loc section
This is a basic implementation - we still don't have any support (that I know of) for dumping DWARF expressions in a meaningful way, so the location information itself is just printed as a sequence of bytes as we do elsewhere.
llvm-svn: 184361
show more ...
|
Revision tags: llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1 |
|
#
97438dc7 |
| 12-Feb-2013 |
Krzysztof Parzyszek <kparzysz@codeaurora.org> |
Add support for the pubnames section to llvm-dwarfdump.
llvm-svn: 174976
|
#
fd08bc19 |
| 05-Feb-2013 |
Eli Bendersky <eliben@google.com> |
Initial support for DWARF CFI parsing and dumping in LLVM
llvm-svn: 174463
|
#
a5a4ff5a |
| 25-Jan-2013 |
Eli Bendersky <eliben@google.com> |
When encountering an unknown file format, ObjectFile::createObjectFile should politely report it instead of running into llvm_unreachable.
Also patch llvm-dwarfdump to actually check whether the fil
When encountering an unknown file format, ObjectFile::createObjectFile should politely report it instead of running into llvm_unreachable.
Also patch llvm-dwarfdump to actually check whether the file it's attempting to dump is a valid object file.
llvm-svn: 173489
show more ...
|
#
7a94daa1 |
| 25-Jan-2013 |
Eli Bendersky <eliben@google.com> |
Add command-line flags for DWARF dumping.
Flags for dumping specific DWARF sections added in lib/DebugInfo and llvm-dwarfdump.
llvm-svn: 173480
|
#
48eaffc9 |
| 25-Jan-2013 |
Eli Bendersky <eliben@google.com> |
Rename variable to be more comprehensible and follow naming convention
llvm-svn: 173460
|
Revision tags: llvmorg-3.2.0, llvmorg-3.2.0-rc3 |
|
#
4d88a1c2 |
| 04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines for tools/...
Again, tools are trickier to pick the main module header for than library source files. I've started to follow the pattern of using LLVMContext.h when it is inc
Sort the #include lines for tools/...
Again, tools are trickier to pick the main module header for than library source files. I've started to follow the pattern of using LLVMContext.h when it is included as a stub for program source files.
llvm-svn: 169252
show more ...
|
Revision tags: llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1 |
|
#
7370b552 |
| 12-Nov-2012 |
Eric Christopher <echristo@gmail.com> |
Rewrite DIContext interface to take an object. Update all callers.
llvm-svn: 167757
|
#
9cb13d59 |
| 12-Nov-2012 |
Alexey Samsonov <samsonov@google.com> |
Fixup for r167558: Store raw pointer (instead of reference) to RelocMap in DIContext. This is needed to prevent crashes because of dangling reference if the clients don't provide RelocMap to DIContex
Fixup for r167558: Store raw pointer (instead of reference) to RelocMap in DIContext. This is needed to prevent crashes because of dangling reference if the clients don't provide RelocMap to DIContext constructor.
llvm-svn: 167728
show more ...
|
#
7c678de8 |
| 07-Nov-2012 |
Eric Christopher <echristo@gmail.com> |
Add a relocation visitor to lib object. This works via caching relocated values in a map that can be passed to consumers. Add a testcase that ensures this works for llvm-dwarfdump.
llvm-svn: 167558
|
#
3680f882 |
| 16-Oct-2012 |
Eric Christopher <echristo@gmail.com> |
Formatting and 80-col.
llvm-svn: 166075
|
#
c942e6b7 |
| 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 tha
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).
llvm-svn: 163128
show more ...
|
#
034e57a2 |
| 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 ca
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.
llvm-svn: 162657
show more ...
|
#
e16e16ad |
| 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.
llvm-svn: 160496
|
#
f4462fa3 |
| 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-
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
llvm-svn: 159512
show more ...
|
Revision tags: llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1, llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1 |
|
#
5fd56b83 |
| 07-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Fix a few changes I missed.
llvm-svn: 141392
|
#
4d9924f9 |
| 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
llvm-svn: 139850
|
#
07d4b1c4 |
| 15-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
DWARF: wire up .debug_str dumping.
llvm-svn: 139799
|
#
5acab501 |
| 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.
llvm-svn: 139771
|
#
973b5cde |
| 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.
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.
llvm-svn: 139701
show more ...
|
#
a6002fd9 |
| 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
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.
llvm-svn: 139680
show more ...
|
#
aa2f78f5 |
| 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 proj
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.
llvm-svn: 139627
show more ...
|