summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugRangeList.h
Commit message (Collapse)AuthorAgeFilesLines
* [DWARF parser] Refactor fetching DIE address ranges.Alexey Samsonov2014-04-181-8/+7
| | | | | | | | | | Add a helper method to get address ranges specified in a DIE (either by DW_AT_low_pc/DW_AT_high_pc, or by DW_AT_ranges). Use it to untangle and simplify the code. No functionality change. llvm-svn: 206624
* Add support for fetching inlining context (stack of source code locations)Alexey Samsonov2012-09-041-0/+27
| | | | | | | | | | | 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). llvm-svn: 163128
* Add basic support for .debug_ranges section to LLVM's DebugInfo library.Alexey Samsonov2012-08-271-0/+51
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
OpenPOWER on IntegriCloud