Re: [PATCH 3/4] tools/nolibc: Fix strlcpy() return code and size usage

From: Willy Tarreau
Date: Sun Feb 11 2024 - 06:14:51 EST


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