Use g_assertion_message instead of exit to kill an iOS app.
[mono.git] / mono / mini / xdebug.c
index 136c214c311d66bb63bf8133afde0f00130c3a5e..f32deb0cc045cb53f15f7cebcf75ff35c77f685f 100644 (file)
@@ -105,13 +105,6 @@ struct jit_descriptor
 /* GDB puts a breakpoint in this function.  */
 void MONO_NOINLINE __jit_debug_register_code(void);
 
-#if !defined(MONO_LLVM_LOADED) && defined(ENABLE_LLVM) && ((LLVM_MAJOR_VERSION == 2 && LLVM_MINOR_VERSION >= 7) || LLVM_MAJOR_VERSION > 2)
-
-/* LLVM already defines these */
-extern struct jit_descriptor __jit_debug_descriptor;
-
-#else
-
 /* Make sure to specify the version statically, because the
    debugger may check the version before we can set it.  */
 struct jit_descriptor __jit_debug_descriptor = { 1, 0, 0, 0 };
@@ -123,8 +116,6 @@ void MONO_NOINLINE __jit_debug_register_code(void) {
 #endif
 }
 
-#endif
-
 static MonoImageWriter *xdebug_w;
 static MonoDwarfWriter *xdebug_writer;
 static FILE *xdebug_fp, *il_file;