Make it possible to create multiple JIT instances at the same time, by removing
authorJeffrey Yasskin <jyasskin@google.com>
Thu, 11 Feb 2010 01:07:39 +0000 (01:07 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Thu, 11 Feb 2010 01:07:39 +0000 (01:07 +0000)
commit40966a7c6847c102fbf466da3e8726c59c3dbb1e
treeea8915adc7d6f5938961424cbb6c5b0b96749dbe
parent09eeac9f5f8c21621f82f9b6598eb7e34593357e
Make it possible to create multiple JIT instances at the same time, by removing
the global TheJIT and TheJITResolver variables.  Lazy compilation is supported
by a global map from a stub address to the JITResolver that knows how to
compile it.

Patch by Olivier Meurant!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95837 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ReleaseNotes.html
lib/ExecutionEngine/JIT/JIT.cpp
lib/ExecutionEngine/JIT/JIT.h
lib/ExecutionEngine/JIT/JITEmitter.cpp
unittests/ExecutionEngine/JIT/MultiJITTest.cpp [new file with mode: 0644]