summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
Commit message (Collapse)AuthorAgeFilesLines
...
* DWARF: Make DIE printing more bulletproof.Benjamin Kramer2011-09-151-5/+18
| | | | llvm-svn: 139786
* DWARF: Print the number for unknown abbrev fields.Benjamin Kramer2011-09-151-5/+18
| | | | | | Thanks Nick! llvm-svn: 139778
* DWARF: Fail gracefully when encountering unknown values in an abbrev.Benjamin Kramer2011-09-151-4/+9
| | | | llvm-svn: 139777
* Give structs with virtual methods a virtual destructor.Nick Lewycky2011-09-152-0/+6
| | | | llvm-svn: 139776
* DWARF: Silence GCC -Wsign-compare warning.Benjamin Kramer2011-09-151-1/+1
| | | | llvm-svn: 139775
* DWARF: Fix indentation.Benjamin Kramer2011-09-152-82/+81
| | | | llvm-svn: 139774
* DWARF: Include <algorithm> explicitly.Benjamin Kramer2011-09-151-0/+1
| | | | llvm-svn: 139773
* DWARF: Add basic support for line tables.Benjamin Kramer2011-09-155-0/+707
| | | | | | The llvm-dwarfdump output isn't very verbose yet. llvm-svn: 139771
* DWARF: Generate the address lookup table from the DIE tree if .debug_aranges ↵Benjamin Kramer2011-09-147-1/+87
| | | | | | | | is not available. Ported from LLDB. llvm-svn: 139732
* DWARF: Reorder fields to reduce padding.Benjamin Kramer2011-09-141-2/+2
| | | | llvm-svn: 139712
* DWARF: Improve indentation of DIE dumping so it's easier to see the structure.Benjamin Kramer2011-09-141-8/+8
| | | | llvm-svn: 139705
* llvm-dwarfdump: Make the "is debug info section" heuristic stricter so it ↵Benjamin Kramer2011-09-141-0/+7
| | | | | | | | | | doesn't accidentaly picks up the wrong section. Also add some validation code to the aranges section parser. Fixes PR10926. llvm-svn: 139701
* Don't rely in <algorithm> being pulled in transitively.Benjamin Kramer2011-09-141-0/+1
| | | | llvm-svn: 139684
* DWARF: Port support for parsing .debug_aranges section from LLDB and wire it ↵Benjamin Kramer2011-09-147-2/+551
| | | | | | | | | 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
* DebugInfo: Don't print DIEs multiple times.Benjamin Kramer2011-09-143-5/+5
| | | | llvm-svn: 139671
* Style & indentation tweaks.Benjamin Kramer2011-09-137-211/+201
| | | | llvm-svn: 139646
* I know copy&paste!Benjamin Kramer2011-09-131-1/+1
| | | | llvm-svn: 139628
* Sketch out a DWARF parser.Benjamin Kramer2011-09-1316-0/+1882
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
OpenPOWER on IntegriCloud