commit | 3824cca7b3a9515566b410db8292828acff6f739 | [log] [tgz] |
---|---|---|
author | George Rimar <grimar@accesssoftek.com> | Tue May 16 12:05:03 2017 +0000 |
committer | George Rimar <grimar@accesssoftek.com> | Tue May 16 12:05:03 2017 +0000 |
tree | 7770d6d465954ca512c9440227b27aa810723d92 | |
parent | 26d49a640aef72b222885202ae6de7fc03b11226 [diff] [blame] |
Revert r303159 "[DWARF] - Use DWARFAddressRange struct instead of uint64_t pair for DWARFAddressRangesVector." Something went wrong, it broke BB. http://green.lab.llvm.org/green//job/clang-stage1-cmake-RA-incremental_build/38477/consoleFull#-200034420049ba4694-19c4-4d7e-bec5-911270d8a58c llvm-svn: 303162
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp index 72db70d..0cf71f5 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
@@ -54,8 +54,10 @@ if (ParsedCUOffsets.insert(CUOffset).second) { DWARFAddressRangesVector CURanges; CU->collectAddressRanges(CURanges); - for (const auto &R : CURanges) - appendRange(CUOffset, R.LowPC, R.HighPC); + for (const auto &R : CURanges) { + appendRange(CUOffset, R.first, R.second); + } + } } construct();