[runtime] Added gen-seq-points-file= deprecated option
authorMarcos Henrich <marcos.henrich@xamarin.com>
Wed, 13 Jul 2016 10:17:36 +0000 (11:17 +0100)
committerMarcos Henrich <marcos.henrich@xamarin.com>
Wed, 13 Jul 2016 10:17:36 +0000 (11:17 +0100)
Added gen-seq-points-file= back with deprecated message to avoid crashes
in application still using it.

mono/mini/aot-compiler.c

index 9b4c7b6d2a478bf717b039ed763ce5a3bc3c56de..fab09c647c1426bfe0e61dfccf169dcd4d1cfc5f 100644 (file)
@@ -7050,6 +7050,8 @@ mono_aot_parse_options (const char *aot_options, MonoAotOptions *opts)
                        opts->ld_flags = g_strdup (arg + strlen ("ld-flags="));                 
                } else if (str_begins_with (arg, "soft-debug")) {
                        opts->soft_debug = TRUE;
+               } else if (str_begins_with (arg, "gen-seq-points-file=")) {
+                       fprintf (stderr, "Mono Warning: aot option gen-seq-points-file= is deprecated.\n");
                } else if (str_begins_with (arg, "msym-dir=")) {
                        debug_options.no_seq_points_compact_data = FALSE;
                        opts->gen_msym_dir = TRUE;