summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
Commit message (Collapse)AuthorAgeFilesLines
* DebugInfo library: add support for fetching absolute paths to source filesAlexey Samsonov2012-07-191-0/+7
| | | | | | | | (instead of basenames) from DWARF. Use this behavior in llvm-dwarfdump tool. Reviewed by Benjamin Kramer. llvm-svn: 160496
* Fix a bug in DebugInfo lib, extend a comment for one of the methodsAlexey Samsonov2012-07-041-2/+2
| | | | llvm-svn: 159707
* This patch extends the libLLVMDebugInfo which contains a minimalistic DWARF ↵Alexey Samsonov2012-07-021-4/+14
| | | | | | | | | | 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
* DWARF: Print line tables per compile unit, so they get the right address size.Benjamin Kramer2011-09-151-2/+1
| | | | llvm-svn: 139808
* DWARF: Generate the address lookup table from the DIE tree if .debug_aranges ↵Benjamin Kramer2011-09-141-0/+37
| | | | | | | | is not available. Ported from LLDB. llvm-svn: 139732
* DebugInfo: Don't print DIEs multiple times.Benjamin Kramer2011-09-141-2/+1
| | | | llvm-svn: 139671
* Sketch out a DWARF parser.Benjamin Kramer2011-09-131-0/+203
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