[llvm] [BPF] Strip map struct names (PR #164851)

Tamir Duberstein via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 23 10:18:38 PDT 2025


================
@@ -1077,6 +1085,8 @@ void BTFDebug::visitMapDefType(const DIType *Ty, uint32_t &TypeId) {
       const auto *MemberCTy = dyn_cast<DICompositeType>(MemberBaseType);
       if (MemberCTy) {
         visitMapDefType(MemberBaseType, TmpId);
+        // Don't strip the name of the wrapper.
----------------
tamird wrote:

Better to say why rather than what.

https://github.com/llvm/llvm-project/pull/164851


More information about the llvm-commits mailing list