X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Fxdebug.c;h=f32deb0cc045cb53f15f7cebcf75ff35c77f685f;hb=9852e7da8c00f2bcbf483211832563a63178101a;hp=136c214c311d66bb63bf8133afde0f00130c3a5e;hpb=5f99c02058e0ae399b6d78e51f3c402dbf8ca0fe;p=mono.git diff --git a/mono/mini/xdebug.c b/mono/mini/xdebug.c index 136c214c311..f32deb0cc04 100644 --- a/mono/mini/xdebug.c +++ b/mono/mini/xdebug.c @@ -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;