On Fri, Feb 8, 2019 at 1:42 AM Tom de Vries <tdevr...@suse.de> wrote:
>
> Add libbacktrace test-case using -flto.
>
> OK for trunk?
>
> Thanks,
> - Tom
>
> [libbacktrace] Add btest_lto
>
> 2019-02-08  Tom de Vries  <tdevr...@suse.de>
>
>         * Makefile.am (BUILDTESTS): Add btest_lto.
>         * Makefile.in: Regenerate.
>         * btest.c (test1, f2, f3, test3, f22, f23): Declare with
>         __attribute__((noclone)).

This seems more or less fine, but are there any platforms where -flto
doesn't work?  The docs say "Link-time optimization does not work well
with generation of debugging information on systems other than those
using a combination of ELF and DWARF."  For example, does this test
pass on Windows?

Ian

Reply via email to