alloc-util: Disallow inlining of expand_to_usable
authorSiddhesh Poyarekar <siddhesh@gotplt.org>
Sun, 8 Jan 2023 00:30:32 +0000 (19:30 -0500)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 8 Jan 2023 15:26:39 +0000 (16:26 +0100)
commit4f79f545b3c46c358666c9f5f2b384fe50aac4b4
treed97ae762c3e22c11bc2551616d1c103c564e9df5
parent9907a7e00b7c57f56020eeec3247e0f75799435d
alloc-util: Disallow inlining of expand_to_usable

Explicitly set __attribute__ ((noinline)) so that the compiler does not
attempt to inline expand_to_usable, even with LTO.
src/basic/alloc-util.h
src/fundamental/macro-fundamental.h