>>>>> Diego Novillo writes: Diego> I'm not sure if it's intended, but I don't think it's desirable. The Diego> information needed to do LTO optimizations should be independent from Diego> the debugging information.
Diego> We could have a --strip-lto option for strip, but I don't think Diego> --strip-debug should remove LTO data. Having LTO dwarf information dependent on debugging section may not be great, but is the alternative better? If we place the lto dwarf info in another section, should debuggers also look there? Or should we duplicate info in both .debug and .lto, which bloats the file? Or should binutils look for .to and not strip .debug or warn about stripping .debug affecting LTO? David