[flang-commits] [clang] [flang] [lld] [llvm] Test entry-points for pass-plugins with Bye in clang, flang and lld (PR #172463)
via flang-commits
flang-commits at lists.llvm.org
Tue Dec 16 04:19:19 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 167206 tests passed
* 2955 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Interpreter/pass-plugins.cpp</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/pass-plugins.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl -Xcc -fpass-plugin=/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreterlugindir/pypass-plugin.so -Xcc -load=/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreterlugindir/pypass-plugin.so -Xcc -Xclang -Xcc -mllvm -Xcc -wave-goodbye | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/pass-plugins.cpp
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/pass-plugins.cpp
# .---command stdout------------
# | // RUN: cat %s | clang-repl -Xcc -fpass-plugin=%plugindir/pypass-plugin%pluginext \
# | // RUN: -Xcc -load=%plugindir/pypass-plugin%pluginext \
# | // RUN: -Xcc -Xclang -Xcc -mllvm -Xcc -wave-goodbye | FileCheck %s
# | // REQUIRES: plugins, llvm-examples
# |
# | int i = 10;
# | %quit
# |
# | // CHECK: Bye
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl -Xcc -fpass-plugin=/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreterlugindir/pypass-plugin.so -Xcc -load=/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreterlugindir/pypass-plugin.so -Xcc -Xclang -Xcc -mllvm -Xcc -wave-goodbye
# .---command stderr------------
# | error: unable to load plugin '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreterlugindir/pypass-plugin.so': 'Could not load library '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreterlugindir/pypass-plugin.so': /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreterlugindir/pypass-plugin.so: cannot open shared object file: No such file or directory'
# | 1 error generated.
# | #0 0x0000000008231be8 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 0x000000000822f28c llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x00000000082329b1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# | #3 0x00007d651db2f330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x000000000ac26331 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:137:40
# | #5 0x000000000ac26331 isDependencyDirectivesLexer /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Lex/Lexer.h:215:68
# | #6 0x000000000ac26331 clang::Lexer::Lex(clang::Token&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:3704:3
# | #7 0x000000000ac9fced clang::Preprocessor::Lex(clang::Token&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Preprocessor.cpp:896:3
# | #8 0x0000000008cec927 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #9 0x0000000008cec927 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #10 0x0000000008cec927 ~ErrorAsOutParameter /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:1159:17
# | #11 0x0000000008cec927 clang::IncrementalParser::IncrementalParser(clang::CompilerInstance&, clang::IncrementalAction*, llvm::Error&, std::__cxx11::list<clang::PartialTranslationUnit, std::allocator<clang::PartialTranslationUnit>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/IncrementalParser.cpp:45:1
# | #12 0x0000000008ce617e reset /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:208:26
# | #13 0x0000000008ce617e operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:191:2
# | #14 0x0000000008ce617e operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:243:61
# | #15 0x0000000008ce617e operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:414:51
# | #16 0x0000000008ce617e clang::Interpreter::Interpreter(std::unique_ptr<clang::CompilerInstance, std::default_delete<clang::CompilerInstance>>, llvm::Error&, std::unique_ptr<llvm::orc::LLJITBuilder, std::default_delete<llvm::orc::LLJITBuilder>>, std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer>>, clang::Interpreter::JITConfig) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:274:14
# | #17 0x0000000008ce8831 ~_Function_base /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:243:11
# | #18 0x0000000008ce8831 ~JITConfig /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Interpreter/Interpreter.h:124:10
# | #19 0x0000000008ce8831 clang::Interpreter::create(std::unique_ptr<clang::CompilerInstance, std::default_delete<clang::CompilerInstance>>, clang::Interpreter::JITConfig) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:472:17
# | #20 0x0000000006288cc7 main /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/clang-repl/ClangRepl.cpp:353:14
# | #21 0x00007d651db141ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #22 0x00007d651db1428b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #23 0x0000000006285665 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl+0x6285665)
# `-----------------------------
# error: command failed with exit status: -11
# 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/pass-plugins.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/pass-plugins.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/172463
More information about the flang-commits
mailing list