[Lldb-commits] [lldb] [lldb][DWARF] Fix adding children to clang type that hasn't started definition. (PR #93839)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Thu May 30 09:41:06 PDT 2024
================
@@ -13,12 +13,18 @@
using namespace lldb_private::dwarf;
using namespace lldb_private::plugin::dwarf;
+static bool IsStructOrClassTag(llvm::dwarf::Tag Tag) {
----------------
Michael137 wrote:
There's also
```
/// Returns true if `tag` is a class_type of structure_type tag.
static bool IsClassOrStruct(dw_tag_t tag) {
return tag == DW_TAG_class_type || tag == DW_TAG_structure_type;
}
```
In `AppleDWARFIndex` FYI
https://github.com/llvm/llvm-project/pull/93839
More information about the lldb-commits
mailing list