AOT: Add option to emit global symbols for methods. Fixes #2471.
commit20d0b100ddcc91b702b46773e337528722c75dfd
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Thu, 15 Dec 2011 22:59:56 +0000 (15 23:59 +0100)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 15 Nov 2012 20:16:52 +0000 (15 15:16 -0500)
treed939e0a9118e6b68efb46b2fc5ad85a5e41992ee
parentb66643b16fa2b35edc88188968169adaae3371a7
AOT: Add option to emit global symbols for methods. Fixes #2471.

The logic here is that we emit the debug name for a method as the global
symbol, not the generated name we otherwise use, and we don't emit a debug
symbol. The issue is that if we have both a global debug symbol and a global
(generated) method name, which one will show up in stack traces is undefined.

This is a temporary patch until it has been reviewed by the runtime
people (it's only on mobile-master for now).
mono/mini/aot-compiler.c