diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp @@ -3037,6 +3037,17 @@ module_sp, base_classes, layout_info); break; + case DW_TAG_enumeration_type: + { + SymbolContextScope *scope; + scope = parent_die.GetDWARF()->GetObjectFile()->GetModule().get(); + assert(scope); + SymbolContext sc(scope); + ParsedDWARFTypeAttributes attrs{die}; + ParseEnum(sc, die, attrs); + } + break; + default: break; }