On Sat, Oct 08, 2011 at 06:43:47PM +0800, Dehao Chen wrote: > This patch records the compiler command-line flags to a .note section, > which could be used by FDO/LIPO. > > Bootstrapped on x86_64, no regressions. > > Is it ok for google/gcc-4_6 and google/main branches?
Why yet another record switches option? Isn't -grecord-gcc-switches good enough for you (or -frecord-gcc-switches)? Jakub