[RFC] Centralize knowledge of eh personality routines

Eric Botcazou ebotcazou@adacore.com
Wed Oct 13 07:04:00 GMT 2010


> The driver for this patch is SEH, which will add yet another function
> name variant in each of these places in each front end. While I could
> adjust each language appropriately, it seems to me that it is a bit
> cleaner to centralize this knowledge.

-/* Build a decl for a EH personality function named NAME. */
+/* Build a personality function given a language. LANG is really an
+ enum dwarf_source_language. */
Left-overs from when it was only an integer?
+ case DW_LANG_Ada83:
+ case DW_LANG_Ada95:
+ prefix = "__gnat_eh_personality";
+ /* The GNAT folk did not follow the standard naming format.
+	 That can change if we ever have to increment the version. */
+ if (ui == UI_DWARF2 || ui == UI_TARGET)
+	unwind = "";
+ version = "";
+ break;
Let's change that right now, we don't guarantee any ABI compatibility between 
different major releases. Olivier, any objections?
-- 
Eric Botcazou


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /