projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e6c312f
)
[lldb] Avoid a crash in mono_lldb_remove_method () if lldb is not enabled.
author
Zoltan Varga
<vargaz@gmail.com>
Wed, 11 Jan 2017 22:56:11 +0000
(17:56 -0500)
committer
Zoltan Varga
<vargaz@gmail.com>
Wed, 11 Jan 2017 22:56:18 +0000
(17:56 -0500)
mono/mini/lldb.c
patch
|
blob
|
history
diff --git
a/mono/mini/lldb.c
b/mono/mini/lldb.c
index 43451edb5b115fb1571870834409878081b18f3b..c6cfa5454f3d65c08e96718a4e8409c7c45c4938 100644
(file)
--- a/
mono/mini/lldb.c
+++ b/
mono/mini/lldb.c
@@
-536,6
+536,9
@@
mono_lldb_remove_method (MonoDomain *domain, MonoMethod *method, MonoJitDynamicM
Buffer tmpbuf;
Buffer *buf = &tmpbuf;
+ if (!enabled)
+ return;
+
g_assert (method->dynamic);
lldb_lock ();