[llvm] [BPF] Visit nested map array during BTF generation (PR #150608)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 25 16:04:46 PDT 2025


================
@@ -707,7 +707,7 @@ void BTFDebug::visitArrayType(const DICompositeType *CTy, uint32_t &TypeId) {
   // Visit array element type.
   uint32_t ElemTypeId;
   const DIType *ElemType = CTy->getBaseType();
-  visitTypeEntry(ElemType, ElemTypeId, false, false);
+  visitTypeEntry(ElemType, ElemTypeId, false, false, false);
----------------
yonghong-song wrote:

Indeed, now we have three bool parameters. Probably we should have a struct to replace these bool parameters now.

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


More information about the llvm-commits mailing list