[runtime] Added missing else branch setting il_offset to -1.
authorMarcos Henrich <marcos.henrich@xamarin.com>
Wed, 3 Dec 2014 18:45:00 +0000 (18:45 +0000)
committerMarcos Henrich <marcos.henrich@xamarin.com>
Wed, 3 Dec 2014 18:45:00 +0000 (18:45 +0000)
mono/mini/mini-exceptions.c

index 56ff948213eee890999ecd65b02c51bac3e8f802..0f17856c1fc73ebd4c49c5eb5bb3a680ecf47445 100644 (file)
@@ -865,6 +865,8 @@ mono_walk_stack_full (MonoJitStackWalk func, MonoContext *start_ctx, MonoDomain
                                SeqPoint sp;
                                if (find_prev_seq_point_for_native_offset (domain, jinfo_get_method (frame.ji), frame.native_offset, NULL, &sp))
                                        il_offset = sp.il_offset;
+                               else
+                                       il_offset = -1;
                        }
                        mono_debug_free_source_location (source);
                } else