Messages in this thread | | | Date | Mon, 14 Nov 2022 16:54:16 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH 10/46] static_call, lto: Mark func_a() as __visible_on_lto |
| |
On Mon, Nov 14, 2022 at 12:43:08PM +0100, Jiri Slaby (SUSE) wrote:
> -static int func_a(int x) > +__visible_on_lto int sc_func_a(int x)
> } static_call_data [] __initdata = { > { NULL, 2, 3 }, > { func_b, 2, 4 }, > - { func_a, 2, 3 } > + { sc_func_a, 2, 3 } > };
I must say I really hate this. Also, with address taken, it still eliminiates it?
This whole GCC-LTO sounds sub-par.
| |