Revision 110267 breaks the build for me on x86_64, or wherever
MONO_ARCH_SIGSEGV_ON_ALTSTACK is defined. Is maybe the attached patch
what was intended? Or should the #ifdef around the first jit_tls
declaration be removed?
Thanks.
Index: mono/mini/mini.c
===================================================================
--- mono/mini/mini.c (revision 110272)
+++ mono/mini/mini.c (working copy)
@@ -13271,10 +13271,11 @@
}
#endif
+#ifdef MONO_ARCH_SIGSEGV_ON_ALTSTACK
/* The thread might no be registered with the runtime */
- MonoJitTlsData *jit_tls = TlsGetValue (mono_jit_tls_id);
if (!mono_domain_get () || !jit_tls)
mono_handle_native_sigsegv (SIGSEGV, ctx);
+#endif
ji = mono_jit_info_table_find (mono_domain_get (), mono_arch_ip_from_context (ctx));
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list