------- Comment #31 from howarth at nitro dot med dot uc dot edu 2009-10-05 18:05 ------- (In reply to comment #12) > It is unclear what those labels are good for, but if darwin is to support > hot/cold partitioning and FDEs covering it, the emit unwind_label hook (which > is apparently darwin specific only) should be passed also the SECOND variable > and create different label name for the second FDE for the same function (if > function starts in hot section, then the second one is covering the cold > section, and vice versa). > The patch in #c11 would just mean you'd keep older versions broken. >
Jakub, Do you mean that we need to pass 'second' from gcc/ira-int.h? /* Allocnos connected by the copy. The first allocno should have smaller order number than the second one. */ ira_allocno_t first, second; to darwin_emit_unwind_label()? Also, what would we use to detect whether the first and second FDE's came from hot or cold sections? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41313