[PATCH v3] elf: Rewrite long RESOLVE_MAP macro to a debug friendly function

Nicholas Guriev nicholas@guriev.su
Sat May 14 14:27:35 GMT 2022


On Пн, 2022-05-09 at 19:08 +0530, Siddhesh Poyarekar wrote:
> Please use __always_inline instead, which adds the inline keyword as 
> well as __attribute__ ((inline)).  That way gcc ensures that the 
> function is *always* inlined.

That is not necessary. My original intention was to improve the
debugging experience at this point. And the standard `inline` keyword
allows one to control optimizations with the -O flag.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20220514/14d10f29/attachment.sig>


More information about the Libc-alpha mailing list