2009-12-07 Zoltan Varga <vargaz@gmail.com>
commit8af5fec667c5fae9dee58d40b2a6dd110d717807
authorzoltan <zoltan@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Mon, 7 Dec 2009 01:57:45 +0000 (7 01:57 +0000)
committerzoltan <zoltan@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Mon, 7 Dec 2009 01:57:45 +0000 (7 01:57 +0000)
tree5b5190edfacbbe511cce13ab6566187570696592
parent965f9c704fb6bc790c913c625b214f6c52686df4
2009-12-07  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c: Put our methods/globals into the 'llvm.used' array, so the
LLVM optimizations don't try to remove them.

* aot-compiler.c (emit_llvm_file): Save the result of opt into a
different file so the original remains.

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@147763 e3ebcda4-bce8-0310-ba0a-eca2169e7518
mono/mini/ChangeLog
mono/mini/aot-compiler.c
mono/mini/mini-llvm.c