diff options
| author | Adrian Prantl <aprantl@apple.com> | 2016-10-28 20:11:27 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2016-10-28 20:11:27 +0000 |
| commit | e704506c932e79d89ef6050c6783f52ca39a1d83 (patch) | |
| tree | ea602e77490dc438d7a60c10022f1eb68f7c83fa /lldb/source/Expression/DWARFExpression.cpp | |
| parent | 2717175c99caab6313feb81e71b1f5e9928f92fe (diff) | |
| download | bcm5719-llvm-e704506c932e79d89ef6050c6783f52ca39a1d83.tar.gz bcm5719-llvm-e704506c932e79d89ef6050c6783f52ca39a1d83.zip | |
Rename DWARF 5 constants to adapt to change in LLVM
llvm-svn: 285441
Diffstat (limited to 'lldb/source/Expression/DWARFExpression.cpp')
| -rw-r--r-- | lldb/source/Expression/DWARFExpression.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Expression/DWARFExpression.cpp b/lldb/source/Expression/DWARFExpression.cpp index 71abadd22d4..4503182acfe 100644 --- a/lldb/source/Expression/DWARFExpression.cpp +++ b/lldb/source/Expression/DWARFExpression.cpp @@ -3029,16 +3029,16 @@ bool DWARFExpression::AddressRangeForLocationListEntry( 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); |

