Re: [google][4.7] Generate a label for the split cold function while using -freorder-blocks-and-partition

2013-04-23 Thread Xinliang David Li
It might be better to submit this to trunk first. thanks, David On Sat, Apr 20, 2013 at 5:09 PM, Sriraman Tallam wrote: > Fixed a bug in the previous patch sent, where I did not check if the > switch section was actually to the cold function part. Updated patch > attached. > > Thanks > Sri >

Re: [google][4.7] Generate a label for the split cold function while using -freorder-blocks-and-partition

2013-04-20 Thread Sriraman Tallam
Fixed a bug in the previous patch sent, where I did not check if the switch section was actually to the cold function part. Updated patch attached. Thanks Sri On Fri, Apr 19, 2013 at 1:58 PM, Sriraman Tallam wrote: > Updated patch attached. > > Thanks > Sri > > On Fri, Apr 19, 2013 at 1:43 P

Re: [google][4.7] Generate a label for the split cold function while using -freorder-blocks-and-partition

2013-04-19 Thread Sriraman Tallam
Updated patch attached. Thanks Sri On Fri, Apr 19, 2013 at 1:43 PM, Sriraman Tallam wrote: > Hi, > > This patch generates labels for cold function parts that are split when > using the option -freorder-blocks-and-partition. The cold label name > is generated by suffixing ".cold" to the assemb

[google][4.7] Generate a label for the split cold function while using -freorder-blocks-and-partition

2013-04-19 Thread Sriraman Tallam
Hi, This patch generates labels for cold function parts that are split when using the option -freorder-blocks-and-partition. The cold label name is generated by suffixing ".cold" to the assembler name of the hot function. This is useful when getting back traces from gdb when the cold functio