Reland "[clang-repl] Re-implement clang-interpreter as a test case."
authorVassil Vassilev <v.g.vassilev@gmail.com>
Wed, 1 Sep 2021 08:02:46 +0000 (08:02 +0000)
committerVassil Vassilev <v.g.vassilev@gmail.com>
Wed, 1 Sep 2021 10:21:38 +0000 (10:21 +0000)
commitf0514a4d26100239088f08d618f2ba100f59958e
tree8b429c3a85c13c0757946d21e9bc2db2166dd393
parent893ac53afc1ae3d433fee2835a1c5db00369d0c4
Reland "[clang-repl] Re-implement clang-interpreter as a test case."

Original commit message:"
  The current infrastructure in lib/Interpreter has a tool, clang-repl, very
  similar to clang-interpreter which also allows incremental compilation.

  This patch moves clang-interpreter as a test case and drops it as conditionally
  built example as we already have clang-repl in place.

  Differential revision: https://reviews.llvm.org/D107049
"

This patch also ignores ppc due to missing weak symbol for __gxx_personality_v0
which may be a feature request for the jit infrastructure. Also, adds a missing
build system dependency to the orc jit.
16 files changed:
clang/docs/ClangFormattedStatus.rst
clang/examples/CMakeLists.txt
clang/examples/clang-interpreter/CMakeLists.txt [deleted file]
clang/examples/clang-interpreter/README.txt [deleted file]
clang/examples/clang-interpreter/Test.cxx [deleted file]
clang/include/clang/Interpreter/Interpreter.h
clang/lib/Interpreter/IncrementalExecutor.cpp
clang/lib/Interpreter/IncrementalExecutor.h
clang/lib/Interpreter/Interpreter.cpp
clang/test/CMakeLists.txt
clang/test/Misc/interpreter.c [deleted file]
clang/test/lit.cfg.py
clang/unittests/Interpreter/CMakeLists.txt
clang/unittests/Interpreter/ExceptionTests/CMakeLists.txt [new file with mode: 0644]
clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp [new file with mode: 0644]
clang/unittests/Interpreter/InterpreterTest.cpp