summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugRangeList.h
Commit message (Collapse)AuthorAgeFilesLines
* 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