[clang] [Clang][Driver] Final phase also determined by input (PR #218802)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 26 01:16:46 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 91090 tests passed
* 1842 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Driver/pch-inputs.h</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Driver/Output/pch-inputs.h.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Driver/Output/pch-inputs.h.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Driver/Output/pch-inputs.h.tmp
# executed command: mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Driver/Output/pch-inputs.h.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/pch-inputs.h -lfoo -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Driver/Output/pch-inputs.h.tmp/tmp1.pch -### 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/pch-inputs.h --check-prefix=UNUSED-L,SINGLEHEADER
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/pch-inputs.h -lfoo -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Driver/Output/pch-inputs.h.tmp/tmp1.pch '-###'
# note: command had no output on stdout or stderr
# 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/Driver/pch-inputs.h --check-prefix=UNUSED-L,SINGLEHEADER
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/pch-inputs.h:7:14: error: UNUSED-L: expected string not found in input
# | // UNUSED-L: clang: warning: -lfoo: 'linker' input unused [-Wunused-command-line-argument]
# | ^
# | <stdin>:1:1: note: scanning from here
# | clang version 24.0.0git (https://github.com/llvm/llvm-project f1556b5624e44a2a6addf11db897390dc09106bf)
# | ^
# | <stdin>:6:1: note: possible intended match here
# | clang: warning: -lfoo: 'linker' input unused when '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/pch-inputs.h' is present [-Wunused-command-line-argument]
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/pch-inputs.h
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: clang version 24.0.0git (https://github.com/llvm/llvm-project f1556b5624e44a2a6addf11db897390dc09106bf)
# | check:7'0 { search range start (exclusive)
# | check:7'1 error: no match found in search range
# | 2: Target: x86_64-unknown-linux-gnu
# | 3: Thread model: posix
# | 4: InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin
# | 5: Build config: +assertions
# | 6: clang: warning: -lfoo: 'linker' input unused when '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/pch-inputs.h' is present [-Wunused-command-line-argument]
# | check:7'2 ? possible intended match
# | 7: (in-process)
# | 8: "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-24" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-pch" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "pch-inputs.h" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Driver" "-fcoverage-compilation-dir=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Driver" "-resource-dir" "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24" "-internal-isystem" "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include" "-internal-isystem" "/usr/local/include" "-internal-isystem" "/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include" "-internal-externc-isystem" "/usr/include/x86_64-linux-gnu" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-ferror-limit" "19" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-faddrsig" "-fdwarf2-cfi-asm" "-o" "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Driver/Output/pch-inputs.h.tmp/tmp1.pch" "-x" "c-header" "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/pch-inputs.h"
# | check:7'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</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/218802
More information about the cfe-commits
mailing list