This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: STL pretty printing exceptions when running in google test
On 04/10/18 15:34 +0000, P G wrote:
Compile flags: -g -std=gnu++14 -flto -O0
Debugging with LTO in GCC 7 doesn't work well.
See https://gcc.gnu.org/gcc-8/changes.html#general
* Link-time optimization improvements:
We have significantly improved debug information on ELF targets
using DWARF by properly preserving language-specific information.
This allows for example the libstdc++ pretty-printers to work with
LTO optimized executables.