From b39e517d5546449db2151191a7cc54524ee51c72 Mon Sep 17 00:00:00 2001 From: zoltan Date: Mon, 8 Feb 2010 17:04:35 +0000 Subject: [PATCH] 2010-02-08 Zoltan Varga * mini-llvm.c (mono_llvm_emit_method): Don't make the debug symbols global. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@151037 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- mono/mini/ChangeLog | 2 ++ mono/mini/mini-llvm.c | 1 + 2 files changed, 3 insertions(+) diff --git a/mono/mini/ChangeLog b/mono/mini/ChangeLog index 108cf91d3..05ab419f1 100755 --- a/mono/mini/ChangeLog +++ b/mono/mini/ChangeLog @@ -1,5 +1,7 @@ 2010-02-08 Zoltan Varga + * mini-llvm.c (mono_llvm_emit_method): Don't make the debug symbols global. + * aot-compiler.c (emit_code): Add the llvm label prefix before 'methods'. * mini-exceptions.c (mini_jit_info_table_find): Search the root domain as well, diff --git a/mono/mini/mini-llvm.c b/mono/mini/mini-llvm.c index 32bd7c51f..d64bc6a98 100644 --- a/mono/mini/mini-llvm.c +++ b/mono/mini/mini-llvm.c @@ -3470,6 +3470,7 @@ mono_llvm_emit_method (MonoCompile *cfg) /* Can't delete the method if it has an alias, so only add it if successful */ if (debug_name) { debug_alias = LLVMAddAlias (module, LLVMTypeOf (method), method, debug_name); + LLVMSetLinkage (debug_alias, LLVMInternalLinkage); LLVMSetVisibility (debug_alias, LLVMHiddenVisibility); } -- 2.11.4.GIT