[Lldb-commits] [lldb] r285441 - Rename DWARF 5 constants to adapt to change in LLVM

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 28 13:11:27 PDT 2016


Author: adrian
Date: Fri Oct 28 15:11:27 2016
New Revision: 285441

URL: http://llvm.org/viewvc/llvm-project?rev=285441&view=rev
Log:
Rename DWARF 5 constants to adapt to change in LLVM

Modified:
    lldb/trunk/source/Expression/DWARFExpression.cpp

Modified: lldb/trunk/source/Expression/DWARFExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/DWARFExpression.cpp?rev=285441&r1=285440&r2=285441&view=diff
==============================================================================
--- lldb/trunk/source/Expression/DWARFExpression.cpp (original)
+++ lldb/trunk/source/Expression/DWARFExpression.cpp Fri Oct 28 15:11:27 2016
@@ -3029,16 +3029,16 @@ bool DWARFExpression::AddressRangeForLoc
     return true;
   case SplitDwarfLocationList:
     switch (debug_loc_data.GetU8(offset_ptr)) {
-    case DW_LLE_end_of_list_entry:
+    case DW_LLE_end_of_list:
       return false;
-    case DW_LLE_start_end_entry: {
+    case DW_LLE_start_end: {
       uint64_t index = debug_loc_data.GetULEB128(offset_ptr);
       low_pc = ReadAddressFromDebugAddrSection(dwarf_cu, index);
       index = debug_loc_data.GetULEB128(offset_ptr);
       high_pc = ReadAddressFromDebugAddrSection(dwarf_cu, index);
       return true;
     }
-    case DW_LLE_start_length_entry: {
+    case DW_LLE_start_length: {
       uint64_t index = debug_loc_data.GetULEB128(offset_ptr);
       low_pc = ReadAddressFromDebugAddrSection(dwarf_cu, index);
       uint32_t length = debug_loc_data.GetU32(offset_ptr);




More information about the lldb-commits mailing list