Re: Mixing languages in the same TU and dwarf2out_frame_finish

2009-01-07 Thread Cary Coutant
> However, on LTO, we may have several personality functions in the same > object file. So, it's not clear what should we do here. Should we > call dwarf2out_frame_finish() for each of the personalities that we > saw in that file? I don't think so. We're calling dwarf2out_frame_finish() at the en

Mixing languages in the same TU and dwarf2out_frame_finish

2009-01-07 Thread Diego Novillo
In the LTO branch, we changed the use of eh_personality_libfunc because when merging files from different front ends, we will have functions that require different EH personalities. So, every function_decl now has a pointer to its personality function accessed via get_personality_function. Howeve