ee7c0d2f931590ccdc53a14b1839e11bb29fc96e |
|
25-Jan-2013 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Add support for applying in-memory relocations to the .debug_line section and, in the case of ELF files, using symbol addresses when available for relocations to the .debug_info section. Also extending the llvm-rtdyld tool to add the ability to dump line number information for testing purposes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.h
|
72f7bfbf0e02bb11d3e7cca1f9598c5f9d9fa2ca |
|
16-Jan-2013 |
Eric Christopher <echristo@gmail.com> |
Split address information for DWARF5 split dwarf proposal. This involves using the DW_FORM_GNU_addr_index and a separate .debug_addr section which stays in the executable and is fully linked. Sneak in two other small changes: a) Print out the debug_str_offsets.dwo section. b) Change form we're expecting the entries in the debug_str_offsets.dwo section to take from ULEB128 to U32. Add tests for all of this in the fission-cu.ll test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172578 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.h
|
dd8e9f395e881972b320d947de88102a0be04b70 |
|
07-Jan-2013 |
Eric Christopher <echristo@gmail.com> |
Add support for separating strings for the split debug info DWARF5 proposal. This leaves the strings in the skeleton die as strp, but in all dwo files they're accessed now via DW_FORM_GNU_str_index. Add support for dumping these sections and modify the fission-cu.ll testcase to have the correct strings and form. Fix a small bug in the fixed form sizes routine that involved out of array accesses for the table and add a FIXME in the extractFast routine to fix this up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.h
|
82de10a34c9432029040ced17129079a7d80904e |
|
03-Jan-2013 |
Eric Christopher <echristo@gmail.com> |
Extend the dumping infrastructure to deal with additional sections for debug info. These are some of the dwo sections from the DWARF5 split debug info proposal. Update the fission-cu.ll testcase to show what we should be able to dump more of now. Work in progress: Ultimately the relocations will be gone for the dwo section and the strings will be a different form (as well as the rest of the sections will be included). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.h
|
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/lib/DebugInfo/DWARFCompileUnit.h
|
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/lib/DebugInfo/DWARFCompileUnit.h
|
a9543aadffcee08d1e49ec9b6904db55671f71f3 |
|
04-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
Fix a bug in DebugInfo lib, extend a comment for one of the methods git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159707 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.h
|
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/lib/DebugInfo/DWARFCompileUnit.h
|
fe80f1da404d25f93e4a2492b127554a882bd5bb |
|
15-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
DWARF: Print line tables per compile unit, so they get the right address size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139808 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.h
|
10df80692cc1594fb06fc02cae6eba177123cfd9 |
|
14-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
DWARF: Generate the address lookup table from the DIE tree if .debug_aranges is not available. Ported from LLDB. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139732 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.h
|
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/lib/DebugInfo/DWARFCompileUnit.h
|