Re: [LTO] LTO breaks if debug info is stripped from object files

2007-11-19 Thread William Maddox
On Nov 18, 2007 12:11 PM, Mark Mitchell <[EMAIL PROTECTED]> wrote: > In particular, in the > current implementation, none of the debug information for the bodies of > functions (i.e., that describing local variables, line numbers for > statements, etc.) is required for LTO processing. The LTO us

Re: [LTO] LTO breaks if debug info is stripped from object files

2007-11-16 Thread William Maddox
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

[LTO] LTO breaks if debug info is stripped from object files

2007-11-15 Thread William Maddox
It appears that portions of the LTO information are emitted in the usual debugging sections, rather, information that would already be present there is shared. This is great for reducing the size of object files that contain both LTO info and debugging info, but means that LTO breaks if 'strip --s