https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114186

--- Comment #1 from Indu Bhagat <ibhagat at gcc dot gnu.org> ---
This in turn affects BTF generation too, because GCC internally uses the CTFC
(CTF container) to create BTF info.

 $ bpftool btf dump file array.o 
[1] INT 'int' size=4 bits_offset=0 nr_bits=32 encoding=SIGNED
[2] INT 'long unsigned int' size=8 bits_offset=0 nr_bits=64 encoding=(none)
[3] ARRAY '(anon)' type_id=1 index_type_id=2 nr_elems=5
[4] ARRAY '(anon)' type_id=3 index_type_id=2 nr_elems=9
[5] ARRAY '(anon)' type_id=4 index_type_id=2 nr_elems=3
[6] VAR 'a' type_id=5, linkage=global
[7] DATASEC '.bss' size=0 vlen=1
        type_id=6 offset=0 size=540 (VAR 'a')

Reply via email to