summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-10-28 18:14:43 +0000
committerAdrian Prantl <aprantl@apple.com>2016-10-28 18:14:43 +0000
commit1c0bf1baca0caf59203f8fbeaafac8004d3a476e (patch)
tree780935e81c3ac9742a35e334f95115b9f4f0d296
parentde8c1b343319eabf4e127077e2562635a15df580 (diff)
downloadbcm5719-llvm-1c0bf1baca0caf59203f8fbeaafac8004d3a476e.tar.gz
bcm5719-llvm-1c0bf1baca0caf59203f8fbeaafac8004d3a476e.zip
Rename DWARF 5 constants to adapt to change in LLVM
llvm-svn: 285424
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp
index 381c68c2d94..1c31d1c4259 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp
@@ -82,15 +82,15 @@ void DWARFDebugMacroEntry::ReadMacroEntries(
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::ReadMacroEntries(
// 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
OpenPOWER on IntegriCloud