Steven Rostedt <rost...@goodmis.org> writes: Can't you just use -freorder-blocks-and-partition?
This should already partition unlikely blocks into a different section. Just a single one of course. FWIW the disadvantage is that multiple code sections tends to break various older dwarf unwinders, as it needs dwarf3 latest'n'greatest. -Andi -- a...@linux.intel.com -- Speaking for myself only