|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| ... |  | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| 
| 
| 
| 
| | (instead of basenames) from DWARF. Use this behavior in llvm-dwarfdump tool.
Reviewed by Benjamin Kramer.
llvm-svn: 160496 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| | llvm-svn: 141392 | 
| | 
| 
| 
| 
| 
| 
| 
| | Usage:
$ llvm-dwarfdump -address=0x0000000100000ed4 a.out.dSYM/Contents/Resources/DWARF/a.out 
xxx.c:6:0
llvm-svn: 139850 | 
| | 
| 
| 
| | llvm-svn: 139799 | 
| | 
| 
| 
| 
| 
| | The llvm-dwarfdump output isn't very verbose yet.
llvm-svn: 139771 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | doesn't accidentaly picks up the wrong section.
Also add some validation code to the aranges section parser.
Fixes PR10926.
llvm-svn: 139701 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
|  | 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 |