Sharing beteen the debug info and the LTO info is a very a good thing, and
I feel that we should not adopt a solution that breaks that.   I'd really rather
leave 'strip --strip-debug' broken than bloat up the object files.  The sort of
solution I would favor would be to make 'strip' smarter so that it preserved
the part of the debug info that LTO needed.  Ideally, we would segregate
the data so that the portions of the debug info of interest to LTO could be
easily identified or its location compactly described so that 'strip' doesn't
actually have to know much about LTO.  I don't understand the current
usage of DWARF by LTO well enough, however, to know whether this is
feasible.

--Bill

Reply via email to