From 18dffe11a12cf687dadee7424fa9f936e234a868 Mon Sep 17 00:00:00 2001 From: mdh1418 Date: Thu, 8 Dec 2022 18:27:14 -0500 Subject: [PATCH] Format symbols based on platform --- src/mono/mono/mini/aot-compiler.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mono/mono/mini/aot-compiler.c b/src/mono/mono/mini/aot-compiler.c index ef787fc635b03..4a57624598af5 100644 --- a/src/mono/mono/mini/aot-compiler.c +++ b/src/mono/mono/mini/aot-compiler.c @@ -5257,7 +5257,11 @@ MONO_RESTORE_WARNING add_method (acfg, wrapper); if (export_name) { g_hash_table_insert (acfg->export_names, wrapper, export_name); +#ifdef TARGET_APPLE_MOBILE g_string_append_printf (export_symbols, "_%s\n", export_name); +#else + g_string_append_printf (export_symbols, "%s\n", export_name); +#endif } }