projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00bf8de
)
[llvm] In default_mono_llvm_unhandled_exception call mono_invoke_unhandled_exception_...
author
Aleksey Kliger
<aleksey@xamarin.com>
Mon, 1 Aug 2016 14:37:38 +0000
(10:37 -0400)
committer
Aleksey Kliger
<aleksey@xamarin.com>
Mon, 1 Aug 2016 14:37:38 +0000
(10:37 -0400)
instead of exiting directly.
mono/mini/mini-llvm.c
patch
|
blob
|
history
diff --git
a/mono/mini/mini-llvm.c
b/mono/mini/mini-llvm.c
index e08765758f495716906462e84f10a42f9bbafc3b..61f3730f520383cefbc8fb9fc89b5d279f097cf4 100644
(file)
--- a/
mono/mini/mini-llvm.c
+++ b/
mono/mini/mini-llvm.c
@@
-9034,8
+9034,8
@@
default_mono_llvm_unhandled_exception (void)
MonoObject *target = mono_gchandle_get_target (jit_tls->thrown_exc);
mono_unhandled_exception (target);
- // AK: should we call mono_invoke_unhandled_exception_hook here?
-
exit (mono_environment_exitcode_get ()
);
+ mono_invoke_unhandled_exception_hook (target);
+
g_assert_not_reached (
);
}
/*