diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-10-28 17:59:50 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-10-28 17:59:50 +0000 |
commit | c4fbbcf9ed664f227cc45bb3b85f684880222314 (patch) | |
tree | 85a106948afe27a9afd5fdb5add07612f02622d0 /llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp | |
parent | 693163e72364e96ee735bd1a477e162c6f52668c (diff) | |
download | bcm5719-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/DWARFDebugLoc.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp index a7b46b842fe..ae5b9d70a2e 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp @@ -82,9 +82,9 @@ void DWARFDebugLocDWO::parse(DataExtractor data) { Loc.Offset = Offset; dwarf::LocationListEntry Kind; while ((Kind = static_cast<dwarf::LocationListEntry>( - data.getU8(&Offset))) != dwarf::DW_LLE_end_of_list_entry) { + data.getU8(&Offset))) != dwarf::DW_LLE_end_of_list) { - if (Kind != dwarf::DW_LLE_start_length_entry) { + if (Kind != dwarf::DW_LLE_startx_length) { llvm::errs() << "error: dumping support for LLE of kind " << (int)Kind << " not implemented\n"; return; |