[Lldb-commits] [lldb] r285424 - Rename DWARF 5 constants to adapt to change in LLVM
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 28 11:14:44 PDT 2016
Author: adrian
Date: Fri Oct 28 13:14:43 2016
New Revision: 285424
URL: http://llvm.org/viewvc/llvm-project?rev=285424&view=rev
Log:
Rename DWARF 5 constants to adapt to change in LLVM
Modified:
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp?rev=285424&r1=285423&r2=285424&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp Fri Oct 28 13:14:43 2016
@@ -82,15 +82,15 @@ void DWARFDebugMacroEntry::ReadMacroEntr
debug_macros_sp->AddMacroEntry(
DebugMacroEntry::CreateUndefEntry(line, macro_str));
break;
- case DW_MACRO_define_indirect:
- case DW_MACRO_undef_indirect:
+ case DW_MACRO_define_strp:
+ case DW_MACRO_undef_strp:
line = debug_macro_data.GetULEB128(offset);
if (offset_is_64_bit)
str_offset = debug_macro_data.GetU64(offset);
else
str_offset = debug_macro_data.GetU32(offset);
macro_str = debug_str_data.GetCStr(&str_offset);
- if (type == DW_MACRO_define_indirect)
+ if (type == DW_MACRO_define_strp)
debug_macros_sp->AddMacroEntry(
DebugMacroEntry::CreateDefineEntry(line, macro_str));
else
@@ -107,7 +107,7 @@ void DWARFDebugMacroEntry::ReadMacroEntr
// This operation has no operands.
debug_macros_sp->AddMacroEntry(DebugMacroEntry::CreateEndFileEntry());
break;
- case DW_MACRO_transparent_include:
+ case DW_MACRO_import:
if (offset_is_64_bit)
new_offset = debug_macro_data.GetU64(offset);
else
More information about the lldb-commits
mailing list