summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-10-28 17:59:50 +0000
committerAdrian Prantl <aprantl@apple.com>2016-10-28 17:59:50 +0000
commitc4fbbcf9ed664f227cc45bb3b85f684880222314 (patch)
tree85a106948afe27a9afd5fdb5add07612f02622d0 /llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
parent693163e72364e96ee735bd1a477e162c6f52668c (diff)
downloadbcm5719-llvm-c4fbbcf9ed664f227cc45bb3b85f684880222314.tar.gz
bcm5719-llvm-c4fbbcf9ed664f227cc45bb3b85f684880222314.zip
Import/update constants from the DWARF 5 public review draft document.
https://reviews.llvm.org/D26051 llvm-svn: 285421
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
index e4577dc12c2..880fc5c3fa2 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
@@ -312,7 +312,7 @@ uint64_t
DWARFDebugInfoEntryMinimal::getRangesBaseAttribute(const DWARFUnit *U,
uint64_t FailValue) const {
uint64_t Result =
- getAttributeValueAsSectionOffset(U, DW_AT_ranges_base, -1ULL);
+ getAttributeValueAsSectionOffset(U, DW_AT_rnglists_base, -1ULL);
if (Result != -1ULL)
return Result;
return getAttributeValueAsSectionOffset(U, DW_AT_GNU_ranges_base, FailValue);
OpenPOWER on IntegriCloud