3df7d2f70bb316ebeec8a8c862b3da5386fbb145 |
|
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 the location information itself is just printed as a sequence of bytes as we do elsewhere. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184361 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
86a0f19e310dba555c97fa6878a33002e4d49a24 |
|
30-May-2013 |
Eric Christopher <echristo@gmail.com> |
Reformat comments here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182901 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
f38bc31b0d37605e70f350d7862cfac5727efe49 |
|
22-Apr-2013 |
Eric Christopher <echristo@gmail.com> |
Remove variable store that is never read. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180013 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
cd61455798777446f35723fdb77f54a17e602009 |
|
17-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
Create a stub for DWARF parser unittests Moves one DWARF-specific header to include/llvm/DebugInfo from lib/. Add a short unittest for r179095. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179678 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
acc897a5e1bd7320da5aab728b9e0c39552f3816 |
|
11-Apr-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Rename the C function to create a SLPVectorizerPass to something sane and expose it in the header file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179272 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
32a3e78304a94ea214aee5fe82b10dd110e8863a |
|
09-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
DWARF parser: Fix DWARF-2/3 incompatibility: size of DW_FORM_ref_addr is the same as DW_FORM_addr in DWARF2, and is 4/8 bytes on 32/64-bit DWARF starting from DWARF3. Adding a test for this is a huge pain - generating and uploading pre-built binary with DWARF3 debug info is way too ugly, and writing fine-grained unittests for DebugInfo is impossible, as it doesn't expose any headers in include/llvm. That said, I'm going to choose the second approach and submit the patch exposing DebugInfo headers for review soon enough. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179095 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
9a9e73b47d139ecb6bfc3c934352ab7c7ee9af44 |
|
07-Apr-2013 |
Eric Christopher <echristo@gmail.com> |
DW_FORM_sec_offset should be a relocation on platforms that use a relocation across sections. Do this for DW_AT_stmt list in the skeleton CU and check the relocations in the debug_info section. Add a FIXME for multiple CUs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178969 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
446b88fb81e14f5fa6f98ca924c83edc856cade7 |
|
17-Jan-2013 |
Eric Christopher <echristo@gmail.com> |
Fix the assembly and dissassembly of DW_FORM_sec_offset. Found this by changing both the string of the dwo_name to be correct and the type of the statement list. Testcases all around. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172699 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
d96c72a14cf327af98cbc7d3491f7a2248f5137d |
|
17-Jan-2013 |
Eric Christopher <echristo@gmail.com> |
Add the DW_AT_GNU_addr_base for the skeleton cu. Add support for emitting the dwarf32 version of DW_FORM_sec_offset and correct disassembler support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172698 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
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/DWARFFormValue.cpp
|
e7285c72793b69f005b5656be9f7aed101cdee4a |
|
07-Jan-2013 |
Eric Christopher <echristo@gmail.com> |
Whitespace and 80-col. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171804 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
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/DWARFFormValue.cpp
|
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/DWARFFormValue.cpp
|
32b3768ec1ae95cb05d1f595d31761c510c43251 |
|
27-Dec-2012 |
Eric Christopher <echristo@gmail.com> |
Right now all of the relocations are 32-bit dwarf, and the relocation information doesn't return an addend for Rel relocations. Go ahead and use this information to fix relocation handling inside dwarfdump for 32-bit ELF REL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171126 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
205e60b223c1f4139d14edd42dfc048adb811ad0 |
|
17-Nov-2012 |
Eric Christopher <echristo@gmail.com> |
Add some basic support for the fission addr forms to DebugInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168223 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
d1726a4580f3dc42e2debbfea41acb9e815c06be |
|
12-Nov-2012 |
Eric Christopher <echristo@gmail.com> |
Rewrite DIContext interface to take an object. Update all callers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167757 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
4c0ae9066fecbbd507162a880450641aa5c33098 |
|
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 DIContext constructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167728 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
806e03d2381709ddfb5a8012729bbe6eae12caf5 |
|
08-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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167558 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
59324297650c12a8dccf1a7ad650a9e895fdc17e |
|
06-Sep-2012 |
Roman Divacky <rdivacky@freebsd.org> |
Stop casting away const qualifier needlessly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163258 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
3887a902a1b8e5a6aad4fc822479845ce3ba0dfe |
|
24-Aug-2012 |
Eric Christopher <echristo@apple.com> |
Add support for some missing DW_FORM_*. TODO: Fix code duplication and coding style. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162525 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
e25a2bd2e349528e48d3cc8dd287307029acf97b |
|
04-Apr-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Fix a C++11 UDL conflict. Still not fixed in the standard ;) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
5eccd36f1a8d917201b39697f3f1b6f45ecc139c |
|
05-Nov-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Audited all the format strings in libDebugInfo and fixed those that didn't match the types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143814 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
41a964931a0e0943ceef28b0c691843bf8ca87b7 |
|
05-Nov-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add more PRI.64 macros for MSVC and use them throughout the codebase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143799 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.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/lib/DebugInfo/DWARFFormValue.cpp
|
89aedba562243c7b60b24b5ffba55394d9c55a12 |
|
15-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
DWARF: Fix indentation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139774 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.cpp
|
4aa3fea8b13b91800c908f8e7d74fad96adba69a |
|
13-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Style & indentation tweaks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139646 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFFormValue.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/lib/DebugInfo/DWARFFormValue.cpp
|