Re: [PATCH dwarves 0/2] clang true signature follow-on

Alan Maguire <[email protected]> Wed, 22 Jul 2026 16:54:18 +0100
Newsgroups org.kernel.vger.dwarves,org.kernel.vger.bpf
Message-ID <[email protected]>
On 14/07/2026 14:50, Alan Maguire wrote:
> Though the true signature series [1] has not landed yet, this is intended=
 as a follow-on series to resolve an issue it raises; by sharing the optimi=
zation detection code it can result in the non true signature case being ov=
erly aggressive in
>=20
>=20
> Though the true signature series [1] has not landed yet, this
> is intended as a follow-on series to resolve an issue it raises;
> by sharing the optimization detection code it can result in
> the non true signature case being overly aggressive in omitting
> functions from BTF that have optimized parameters.
>=20
> See patch 1 for the details; patch 2 tests the change for gcc.
>=20
> This series applies on top of [1]; the danger is we do not
> want to land the true signature series without resolving this
> issue first so hopefully folks can test with this series on top to
> see if issues are resolved.  CI passed with this series on top
> of the true signature series at [2].
>=20
> [1] https://lore.kernel.org/dwarves/20260625020148.1883082-1-yonghong.son=
[email protected]/
> [2] https://github.com/alan-maguire/dwarves/actions/runs/29270441984
>=20

Series applied.

> Alan Maguire (2):
>   btf_encoder: Only skip optimized parms when ABI changed
>   tests: Add GCC default-BTF optimized parameter coverage
>=20
>  btf_encoder.c                  | 97 +++++++++++++++++++++++++---------
>  tests/gcc_optimized_default.sh | 69 ++++++++++++++++++++++++
>  2 files changed, 142 insertions(+), 24 deletions(-)
>  create mode 100755 tests/gcc_optimized_default.sh
>=20
> --=20
> 2.43.5
>=20
>=20