Re: [PATCH v3 4/6] btf: add -fprune-btf option

2024-06-05 Thread Indu Bhagat
On 5/30/24 14:32, David Faust wrote: This patch adds a new option, -fprune-btf, to control BTF debug info generation. As the name implies, this option enables a kind of "pruning" of the BTF information before it is emitted. When enabled, rather than emitting all type information translated from

Re: [PATCH v3 4/6] btf: add -fprune-btf option

2024-05-31 Thread Richard Biener
> Am 31.05.2024 um 17:58 schrieb David Faust : > >  > >> On 5/31/24 00:07, Richard Biener wrote: >>> On Thu, May 30, 2024 at 11:34 PM David Faust wrote: >>> >>> This patch adds a new option, -fprune-btf, to control BTF debug info >>> generation. >> >> Can you name it -gprune-btf instead? >

Re: [PATCH v3 4/6] btf: add -fprune-btf option

2024-05-31 Thread David Faust
On 5/31/24 00:07, Richard Biener wrote: > On Thu, May 30, 2024 at 11:34 PM David Faust wrote: >> >> This patch adds a new option, -fprune-btf, to control BTF debug info >> generation. > > Can you name it -gprune-btf instead? Yes, sure. I think I followed -feliminate-unused-debug-types, but I

Re: [PATCH v3 4/6] btf: add -fprune-btf option

2024-05-31 Thread Richard Biener
On Thu, May 30, 2024 at 11:34 PM David Faust wrote: > > This patch adds a new option, -fprune-btf, to control BTF debug info > generation. Can you name it -gprune-btf instead? > As the name implies, this option enables a kind of "pruning" of the BTF > information before it is emitted. When enab

[PATCH v3 4/6] btf: add -fprune-btf option

2024-05-30 Thread David Faust
This patch adds a new option, -fprune-btf, to control BTF debug info generation. As the name implies, this option enables a kind of "pruning" of the BTF information before it is emitted. When enabled, rather than emitting all type information translated from DWARF, only information for types dire