This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]