Messages in this thread | | | Date | Sun, 11 Feb 2024 12:14:36 +0100 | From | Willy Tarreau <> | Subject | Re: [PATCH 3/4] tools/nolibc: Fix strlcpy() return code and size usage |
| |
On Sun, Feb 11, 2024 at 12:08:14PM +0100, Willy Tarreau wrote: > And I think we should explicitly mark > strlen() and the few other ones we're marking weak as noinline so that > the compiler perfers a call there to inlining.
So actually the weak argument always prevents inlining from happening so this is not needed (I didn't have it in my previous test).
Willy
| |