diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-14 20:52:27 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-14 20:52:27 +0000 |
commit | 10df80692cc1594fb06fc02cae6eba177123cfd9 (patch) | |
tree | 52bf8e0b53fb79a6dd33acaea72b23acc6908414 /lib/DebugInfo/DWARFDebugAranges.h | |
parent | 55cf815e19691d8a1cda40a331943ebfee9d7255 (diff) |
DWARF: Generate the address lookup table from the DIE tree if .debug_aranges is not available.
Ported from LLDB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139732 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFDebugAranges.h')
-rw-r--r-- | lib/DebugInfo/DWARFDebugAranges.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/DebugInfo/DWARFDebugAranges.h b/lib/DebugInfo/DWARFDebugAranges.h index 8fe70e4aa4..12afb60beb 100644 --- a/lib/DebugInfo/DWARFDebugAranges.h +++ b/lib/DebugInfo/DWARFDebugAranges.h @@ -64,6 +64,7 @@ public: bool allRangesAreContiguous(uint64_t& LoPC, uint64_t& HiPC) const; bool getMaxRange(uint64_t& LoPC, uint64_t& HiPC) const; bool extract(DataExtractor debug_aranges_data); + bool generate(DWARFContext *ctx); // Use append range multiple times and then call sort void appendRange(uint32_t cu_offset, uint64_t low_pc, uint64_t high_pc); |