[clang] [llvm] [BPF] Handle C++ records in BTF and CO-RE (PR #233715)
Tamir Duberstein via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 20 11:58:58 PDT 2026
================
@@ -1205,14 +1213,14 @@ void BTFDebug::visitDerivedType(const DIDerivedType *DTy, uint32_t &TypeId,
Tag == dwarf::DW_TAG_restrict_type) {
auto TypeEntry = std::make_unique<BTFTypeDerived>(DTy, Tag, false);
TypeId = addType(std::move(TypeEntry), DTy);
- } else if (Tag != dwarf::DW_TAG_member) {
+ } else if (Tag != dwarf::DW_TAG_member && Tag != dwarf::DW_TAG_inheritance) {
----------------
tamird wrote:
Agreed: the unsupported member-pointer input predates this patch and is tracked in #233948, so it need not block this regression fix.
https://github.com/llvm/llvm-project/pull/233715
More information about the cfe-commits
mailing list