[all-commits] [llvm/llvm-project] 511128: Reland "Reland [clang-repl] Introduce Value to cap...

Jun Zhang via All-commits all-commits at lists.llvm.org
Tue May 23 04:33:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5111286f06e1e10f24745007a45a830760f1790c
      https://github.com/llvm/llvm-project/commit/5111286f06e1e10f24745007a45a830760f1790c
  Author: Jun Zhang <jun at junz.org>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M clang/include/clang/Interpreter/Interpreter.h
    A clang/include/clang/Interpreter/Value.h
    M clang/lib/Interpreter/CMakeLists.txt
    M clang/lib/Interpreter/IncrementalParser.cpp
    M clang/lib/Interpreter/IncrementalParser.h
    M clang/lib/Interpreter/Interpreter.cpp
    A clang/lib/Interpreter/InterpreterUtils.cpp
    A clang/lib/Interpreter/InterpreterUtils.h
    A clang/lib/Interpreter/Value.cpp
    M clang/tools/clang-repl/CMakeLists.txt
    M clang/unittests/Interpreter/CMakeLists.txt
    M clang/unittests/Interpreter/InterpreterTest.cpp

  Log Message:
  -----------
  Reland "Reland [clang-repl] Introduce Value to capture expression results"

This reverts commit 094ab4781262b6cb49d57b0ecdf84b047c879295.

Reland with changing `ParseAndExecute` to `Parse` in
`Interpreter::create`. This avoid creating JIT instance everytime even
if we don't really need them.

This should fixes failures like https://lab.llvm.org/buildbot/#/builders/38/builds/11955

The original reverted patch also causes GN bot fails on M1. (https://lab.llvm.org/buildbot/#/builders/38/builds/11955)
However, we can't reproduce it so let's reland it and see what happens.
See discussions here: https://reviews.llvm.org/rGd71a4e02277a64a9dece591cdf2b34f15c3b19a0




More information about the All-commits mailing list