[llvm] Use the global llvm context instead of creating a new one for each aot module...
commit8b8d4c41d2dd60ad4db5e046845145ac3818a9d5
authorZoltan Varga <vargaz@gmail.com>
Wed, 26 Oct 2016 16:41:53 +0000 (26 12:41 -0400)
committerZoltan Varga <vargaz@gmail.com>
Wed, 26 Oct 2016 18:09:58 +0000 (26 14:09 -0400)
tree5f20a2197f9f67f1e526ce5e796f6e27c339a3e0
parent8864f4c6e92c921f1069f29c355bb4a40d60e964
[llvm] Use the global llvm context instead of creating a new one for each aot module, since the latter seems to cause random memory corruption/crashes.
mono/mini/mini-llvm.c