[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
================
@@ -23,7 +23,7 @@
; CHECK-BTF-NEXT: [2] STRUCT 'key_type' size=4 vlen=1
; CHECK-BTF-NEXT: 'a1' type_id=3 bits_offset=0
; CHECK-BTF-NEXT: [3] INT 'int' size=4 bits_offset=0 nr_bits=32 encoding=SIGNED
-; CHECK-BTF-NEXT: [4] STRUCT 'map_type' size=8 vlen=1
+; CHECK-BTF-NEXT: [4] STRUCT '(anon)' size=8 vlen=1
----------------
tamird wrote:
does this (and the diffs in `map-def-3.ll` and `map-def.ll`) mean that this snippet would have been rejected by the kernel?
https://github.com/llvm/llvm-project/pull/164851
More information about the llvm-commits
mailing list