[all-commits] [llvm/llvm-project] 6fe2be: Reland "[clang-repl] Re-implement clang-interprete...

Vassil Vassilev via All-commits all-commits at lists.llvm.org
Fri Sep 3 05:03:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fe2beba7d2a41964af658c8c59dd172683ef739
      https://github.com/llvm/llvm-project/commit/6fe2beba7d2a41964af658c8c59dd172683ef739
  Author: Vassil Vassilev <v.g.vassilev at gmail.com>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M clang/docs/ClangFormattedStatus.rst
    M clang/examples/CMakeLists.txt
    R clang/examples/clang-interpreter/CMakeLists.txt
    R clang/examples/clang-interpreter/README.txt
    R clang/examples/clang-interpreter/Test.cxx
    M clang/include/clang/Interpreter/Interpreter.h
    M clang/lib/Interpreter/IncrementalExecutor.cpp
    M clang/lib/Interpreter/IncrementalExecutor.h
    M clang/lib/Interpreter/Interpreter.cpp
    M clang/test/CMakeLists.txt
    R clang/test/Misc/interpreter.c
    M clang/test/lit.cfg.py
    M clang/unittests/Interpreter/CMakeLists.txt
    A clang/unittests/Interpreter/ExceptionTests/CMakeLists.txt
    A clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
    M clang/unittests/Interpreter/InterpreterTest.cpp

  Log Message:
  -----------
  Reland "[clang-repl] Re-implement clang-interpreter as a test case."
Original commit message: "
    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.
"

Additionally, this patch defines a custom exception type and thus avoids the
requirement to include header <exception>, making it easier to deploy across
systems without standard location of the c++ headers.

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




More information about the All-commits mailing list