[cfe-commits] PATCH: Better support for -g options in Clang driver
rafael.espindola at gmail.com
Fri Jun 1 12:44:57 PDT 2012
> Oh, this one looks hacky :)
> to http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#Debugging-Options,
> "Turn off generation of debug info, if leaving out this option generates it,
> or turn it on at level 2 otherwise."
I think it is only use when bootstrapping to make sure gcc produces
the some code with and without -g. They probably found it easier to
add the option and then just "CFLAGS += gtoogle" during stage2 instead
of making sure -g was only added during stage3.
More information about the cfe-commits