[all-commits] [llvm/llvm-project] c24a58: Reinstate "[clang-repl] Re-implement clang-interpr...

Vassil Vassilev via All-commits all-commits at lists.llvm.org
Tue Oct 26 12:30:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c24a58081b527fa8c61222b67af5f17f4c2cc63b
      https://github.com/llvm/llvm-project/commit/c24a58081b527fa8c61222b67af5f17f4c2cc63b
  Author: Vassil Vassilev <v.g.vassilev at gmail.com>
  Date:   2021-10-26 (Tue, 26 Oct 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:
  -----------
  Reinstate "[clang-repl] Re-implement clang-interpreter as a test case."

Original commit message: "
  Original commit message: "
    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.
       "

       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.
  "

  This patch also works around PR49692 and finds a way to use llvm::consumeError
  in rtti mode.
"

This patch also checks if stl is built with rtti.

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




More information about the All-commits mailing list