]> granicus.if.org Git - clang/commit
clang-interpreter: use LLVM interpreter if JIT is unavailable
authorAlp Toker <alp@nuanti.com>
Tue, 1 Jul 2014 03:19:50 +0000 (03:19 +0000)
committerAlp Toker <alp@nuanti.com>
Tue, 1 Jul 2014 03:19:50 +0000 (03:19 +0000)
commit73e75f0db89eaa33b3a9cf8432aba75172d0ea98
tree4d42e1b9ee17742d3015e92025cbd1cf5ae0a1b4
parent9a5685c64f31ffe26884b199620f8b33be063658
clang-interpreter: use LLVM interpreter if JIT is unavailable

Update the strategy in r212083 to try JIT first and otherwise fall back to the
interpreter. This gives the best of both worlds and still builds fine with no
targets enabled.

Requires supporting changes from LLVM r212086.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212087 91177308-0d34-0410-b5e6-96231b3b80d8
examples/clang-interpreter/CMakeLists.txt
examples/clang-interpreter/README.txt
examples/clang-interpreter/main.cpp