putting __glibcxx_assert_fail into debug.cc bloats binary size by introducing all the dead code with debug.cc

Jonathan Wakely jwakely.gcc@gmail.com
Thu Nov 18 09:09:08 GMT 2021


On Thu, 18 Nov 2021, 03:16 unlvsur unlvsur via Libstdc++, <
libstdc++@gcc.gnu.org> wrote:

> Can we put it into a separate translation unit with only
> __glibcxx_assert_fail? Linker does not remove dead functions.
>

Why does -ffunction-sections not help?



>
>


More information about the Libstdc++ mailing list