[clang] [clang-repl] Rework layering of incremental executors. (PR #175448)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 11 11:12:10 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 85369 tests passed
* 1200 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Interpreter/cxx20-modules.cppm</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 3
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 4
mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp
# executed command: mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/cxx20-modules.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/cxx20-modules.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -std=c++20 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/mod.cppm --precompile -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/mod.pcm --target=x86_64-linux-gnu
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -std=c++20 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/mod.cppm --precompile -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/mod.pcm --target=x86_64-linux-gnu
# note: command had no output on stdout or stderr
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -fPIC /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/mod.pcm -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/mod.o --target=x86_64-linux-gnu
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -fPIC /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/mod.pcm -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/mod.o --target=x86_64-linux-gnu
# note: command had no output on stdout or stderr
# RUN: at line 10
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -nostdlib -fPIC -shared /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/mod.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/libmod.so --target=x86_64-linux-gnu
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -nostdlib -fPIC -shared /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/mod.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/libmod.so --target=x86_64-linux-gnu
# note: command had no output on stdout or stderr
# RUN: at line 12
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/import.cpp | env LD_LIBRARY_PATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp:$LD_LIBRARY_PATH /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl -Xcc=-std=c++20 -Xcc=-fmodule-file=M=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/mod.pcm -Xcc=--target=x86_64-linux-gnu | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/import.cpp
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/import.cpp
# note: command had no output on stdout or stderr
# executed command: env 'LD_LIBRARY_PATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp:$LD_LIBRARY_PATH' /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl -Xcc=-std=c++20 -Xcc=-fmodule-file=M=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/mod.pcm -Xcc=--target=x86_64-linux-gnu
# .---command stderr------------
# | Expected<T> must be checked before access or destruction.
# | Expected<T> value was in success state. (Note: Expected<T> values in success mode must still be checked prior to being destroyed).
# | #0 0x0000000008233a58 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
# | #1 0x00000000082310fc llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x0000000008234821 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# | #3 0x000078b7aa47b330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x000078b7aa4d4b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x000078b7aa47b27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x000078b7aa45e8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x0000000008d2c49d operator<< /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/raw_ostream.h:234:7
# | #8 0x0000000008d2c49d operator<< /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/raw_ostream.h:258:18
# | #9 0x0000000008d2c49d llvm::Expected<clang::IncrementalExecutor&>::fatalUncheckedExpected() const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:716:14
# | #10 0x0000000008d2b5f7 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl+0x8d2b5f7)
# | #11 0x000000000624f014 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #12 0x000000000624f014 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #13 0x000000000624f014 main /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/clang-repl/ClangRepl.cpp:407:18
# | #14 0x000078b7aa4601ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #15 0x000078b7aa46028b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #16 0x000000000624b225 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl+0x624b225)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/import.cpp
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Interpreter/Output/cxx20-modules.cppm.tmp/import.cpp
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>Clang.Interpreter/dynamic-library.cpp</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 17
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/dynamic-library.cpp | env LD_LIBRARY_PATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/Inputs:$LD_LIBRARY_PATH /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/dynamic-library.cpp
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/dynamic-library.cpp
# note: command had no output on stdout or stderr
# executed command: env 'LD_LIBRARY_PATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/Inputs:$LD_LIBRARY_PATH' /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl
# .---command stderr------------
# | Expected<T> must be checked before access or destruction.
# | Expected<T> value was in success state. (Note: Expected<T> values in success mode must still be checked prior to being destroyed).
# | #0 0x0000000008233a58 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
# | #1 0x00000000082310fc llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x0000000008234821 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# | #3 0x00007a542a213330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007a542a26cb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007a542a21327e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007a542a1f68ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x0000000008d2c49d operator<< /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/raw_ostream.h:234:7
# | #8 0x0000000008d2c49d operator<< /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/raw_ostream.h:258:18
# | #9 0x0000000008d2c49d llvm::Expected<clang::IncrementalExecutor&>::fatalUncheckedExpected() const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:716:14
# | #10 0x0000000008d2b5f7 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl+0x8d2b5f7)
# | #11 0x000000000624f014 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #12 0x000000000624f014 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #13 0x000000000624f014 main /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/clang-repl/ClangRepl.cpp:407:18
# | #14 0x00007a542a1f81ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #15 0x00007a542a1f828b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #16 0x000000000624b225 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl+0x624b225)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/dynamic-library.cpp
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/dynamic-library.cpp
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/175448
More information about the cfe-commits
mailing list