This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] add -foverride-comp-dir
Daniel Jacobowitz wrote:
On Mon, Oct 02, 2006 at 06:53:37AM -0400, Jakub Jelinek wrote:
Yeah, that would be likely helpful.
In Fedora Core we use a DWARF3 postprocessing utility to do this kind of
replacement of paths in the debugging sections when we generate separate
debuginfo files, but it would certainly be better if already the compiler
could do that. The only issue would be that gas generates debuginfo too for
assembly sources and for that we'd need a similar switch for assembler I'd
Do you think this would be more useful than the postprocessor? I
figured it wouldn't be - you'd still have to verify that it had caught
everything, and have a way to supply options to every single
compilation in the distro build process. But maybe you already have a
way to do that.
I think it's more complete that the postprocessor: in particular, the
postprocessor only handles debug information, but not __FILE__. So, I
think both approaches have potential utility.
(650) 331-3385 x713