Endill created this revision.
Endill added a reviewer: JDevlieghere.
Endill added a project: LLDB.
Herald added a reviewer: shafik.
Herald added a project: All.
Endill requested review of this revision.
Herald added a subscriber: lldb-commits.
Fixes #64291 <https://github.com/llvm/llvm-project/issues/64291>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D156774
Files:
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Index: lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
===================================================================
--- lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
+++ 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;
}
Index: lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
===================================================================
--- lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
+++ 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;
}
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits