https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125862
--- Comment #1 from Jose E. Marchesi <jemarch at gcc dot gnu.org> --- We discussed about this during this week's BBB meeting. Basically, these C attributes are terribly misnamed, and not only because of the silly "btf" on the name: the "decl/type" part of the attribute names is also misleading, because as you say the BTF format actually allows "decl" tags to be associated to union and struct types. David Faust is working on a patch for this.
