Re: [patch][google gcc-4_8] Make AutoFDO and plugin based function layout work.

2013-11-26 Thread Xinliang David Li
Ok. David On Tue, Nov 26, 2013 at 6:44 PM, Sriraman Tallam wrote: > Google ref b/11631232 > > With AutoFDO, the .gnu.callgraph sections are not emitted with option > -freorder-functions=callgraph. This simple patch fixes it. > > Index: final.c > ==

[patch][google gcc-4_8] Make AutoFDO and plugin based function layout work.

2013-11-26 Thread Sriraman Tallam
Google ref b/11631232 With AutoFDO, the .gnu.callgraph sections are not emitted with option -freorder-functions=callgraph. This simple patch fixes it. Index: final.c === --- final.c (revision 205418) +++ final.c (working copy) @@ -44