[systemd-devel] [PATCH] macro: allow assert_se() assertions to also be optimized when NDEBUG is set
Shawn Landden
shawn at churchofgit.com
Tue Mar 31 11:09:28 PDT 2015
On Mon, Mar 30, 2015 at 8:24 PM, Shawn Landden <shawn at churchofgit.com> wrote:
> replaces log with abort() to remove strings.
>
> saves 3kB from text section of systemd.
and 7kB from rodata. The saving in text is probably because abort() is
no_return.
> ---
> src/shared/macro.h | 16 ++++++++++------
> 1 file changed, 10 insertions(+), 6 deletions(-)
More information about the systemd-devel
mailing list