]> granicus.if.org Git - clang/commit
clang-interpreter: interpret instead of JITing
authorAlp Toker <alp@nuanti.com>
Tue, 1 Jul 2014 02:41:55 +0000 (02:41 +0000)
committerAlp Toker <alp@nuanti.com>
Tue, 1 Jul 2014 02:41:55 +0000 (02:41 +0000)
commit41b937ca28362c2ff442cc04530902ed9b8c972d
treed3a9c3835bc5ca40837c6215223c1b776131f98c
parent71f885d820d5180a62eea524db65de595d410ff7
clang-interpreter: interpret instead of JITing

Fixes the build when no targets are selected, or no native target is built.

This also better matches up with the description/title of the example and
demonstrates how clang can be used to run C++ on constrained environments
without file IO or executable memory permissions (e.g. iOS apps).

A comment is added explaining how to extend the demo with JIT support as
needed.

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