Rename DWARF 5 constants to adapt to change in LLVM

llvm-svn: 285441
This commit is contained in:
Adrian Prantl 2016-10-28 20:11:27 +00:00
parent 2717175c99
commit e704506c93
1 changed files with 3 additions and 3 deletions

View File

@ -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);