[runtime] Register static rgctx trampolines
authorVlad Brezae <brezaevlad@gmail.com>
Tue, 2 Jun 2015 18:48:46 +0000 (11:48 -0700)
committerVlad Brezae <brezaevlad@gmail.com>
Wed, 29 Jul 2015 22:06:37 +0000 (15:06 -0700)
mono/mini/tramp-amd64.c
mono/mini/tramp-arm.c
mono/mini/tramp-mips.c
mono/mini/tramp-ppc.c
mono/mini/tramp-s390x.c
mono/mini/tramp-x86.c

index e40510a7563d895c0a6cafcbf33da5df140dc4a6..687f2b3995cfce3f4a5702e013b6770da7a752c1 100644 (file)
@@ -106,6 +106,8 @@ mono_arch_get_static_rgctx_trampoline (MonoMethod *m, MonoMethodRuntimeGenericCo
        mono_arch_flush_icache (start, code - start);
        mono_profiler_code_buffer_new (start, code - start, MONO_PROFILER_CODE_BUFFER_GENERICS_TRAMPOLINE, NULL);
 
+       mono_tramp_info_register (mono_tramp_info_create (NULL, start, code - start, NULL, NULL));
+
        return start;
 }
 
index 85b29242e57fe1c42ff37a779e75379378898dc8..ddd784354d70dd5c148d96304be89c3a240ce252 100644 (file)
@@ -638,6 +638,8 @@ mono_arch_get_static_rgctx_trampoline (MonoMethod *m, MonoMethodRuntimeGenericCo
        mono_arch_flush_icache (start, code - start);
        mono_profiler_code_buffer_new (start, code - start, MONO_PROFILER_CODE_BUFFER_GENERICS_TRAMPOLINE, NULL);
 
+       mono_tramp_info_register (mono_tramp_info_create (NULL, start, code - start, NULL, NULL));
+
        return start;
 }
 
index bf35f84ff349c7a63835d1a305d054c73a012bae..baabbe85651f428a56a1373c19816e69e773f92b 100644 (file)
@@ -324,6 +324,8 @@ mono_arch_get_static_rgctx_trampoline (MonoMethod *m, MonoMethodRuntimeGenericCo
 
        mono_arch_flush_icache (start, code - start);
 
+       mono_tramp_info_register (mono_tramp_info_create (NULL, start, code - start, NULL, NULL));
+
        return start;
 }
 
index 1c723aa2ebb110ba89fd6870a2d377b2c6940988..e13c4bf829f9448d1f418782c5ee704ab6b7ae69 100644 (file)
@@ -149,6 +149,8 @@ mono_arch_get_static_rgctx_trampoline (MonoMethod *m, MonoMethodRuntimeGenericCo
        mono_arch_flush_icache (start, code - start);
        g_assert ((code - start) <= size);
 
+       mono_tramp_info_register (mono_tramp_info_create (NULL, start, code - start, NULL, NULL));
+
        return start;
 }
 
index a9ec6cf67e0996794db4ed67ad4268562c00dd12..69994b7ab221746c447bc709734ceb6b44020405 100644 (file)
@@ -580,6 +580,8 @@ mono_arch_get_static_rgctx_trampoline (MonoMethod *m,
        mono_arch_flush_icache (start, code - start);
        mono_profiler_code_buffer_new (start, code - start, MONO_PROFILER_CODE_BUFFER_HELPER, NULL);
 
+       mono_tramp_info_register (mono_tramp_info_create (NULL, start, code - start, NULL, NULL));
+
        return(start);
 }      
 
index 9a887c435db9890aa5deed680b7d3e9d79ccefac..48d562e8a19d82b1fc9ef82206b3889f0fc5472e 100644 (file)
@@ -77,6 +77,8 @@ mono_arch_get_static_rgctx_trampoline (MonoMethod *m, MonoMethodRuntimeGenericCo
        mono_arch_flush_icache (start, code - start);
        mono_profiler_code_buffer_new (start, code - start, MONO_PROFILER_CODE_BUFFER_GENERICS_TRAMPOLINE, NULL);
 
+       mono_tramp_info_register (mono_tramp_info_create (NULL, start, code - start, NULL, NULL));
+
        return start;
 }