[flang-commits] [clang] [flang] [flang] Implement -grecord-command-line for Flang (PR #181686)
via flang-commits
flang-commits at lists.llvm.org
Mon Feb 16 08:43:09 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 56517 tests passed
* 1204 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Flang
<details>
<summary>Flang.Driver/grecord-command-line.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\flang.exe -### -c -grecord-command-line C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=GRECORD C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' '-###' -c -grecord-command-line 'C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=GRECORD 'C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\flang.exe -### -c -gno-record-command-line C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=GNO_RECORD C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' '-###' -c -gno-record-command-line 'C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=GNO_RECORD 'C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90'
# note: command had no output on stdout or stderr
# RUN: at line 7
c:\_work\llvm-project\llvm-project\build\bin\flang.exe -### -c -grecord-command-line -gno-record-command-line C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=GNO_RECORD C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' '-###' -c -grecord-command-line -gno-record-command-line 'C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=GNO_RECORD 'C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90'
# note: command had no output on stdout or stderr
# RUN: at line 8
c:\_work\llvm-project\llvm-project\build\bin\flang.exe -### -c -grecord-command-line -o - C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=GRECORD_O C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' '-###' -c -grecord-command-line -o - 'C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=GRECORD_O 'C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90'
# note: command had no output on stdout or stderr
# RUN: at line 9
c:\_work\llvm-project\llvm-project\build\bin\flang.exe -c -g -grecord-command-line C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90 -o C:\_work\llvm-project\llvm-project\build\tools\flang\test\Driver\Output\grecord-command-line.f90.tmp.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' -c -g -grecord-command-line 'C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90' -o 'C:\_work\llvm-project\llvm-project\build\tools\flang\test\Driver\Output\grecord-command-line.f90.tmp.o'
# note: command had no output on stdout or stderr
# RUN: at line 10
llvm-dwarfdump --debug-info C:\_work\llvm-project\llvm-project\build\tools\flang\test\Driver\Output\grecord-command-line.f90.tmp.o | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=WITH_GRECORD C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90
# executed command: llvm-dwarfdump --debug-info 'C:\_work\llvm-project\llvm-project\build\tools\flang\test\Driver\Output\grecord-command-line.f90.tmp.o'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=WITH_GRECORD 'C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90:22:17: error: WITH_GRECORD: expected string not found in input
# | ! WITH_GRECORD: DW_AT_producer
# | ^
# | <stdin>:1:1: note: scanning from here
# | C:\_work\llvm-project\llvm-project\build\tools\flang\test\Driver\Output\grecord-command-line.f90.tmp.o: file format COFF-x86-64
# | ^
# | <stdin>:1:9: note: possible intended match here
# | C:\_work\llvm-project\llvm-project\build\tools\flang\test\Driver\Output\grecord-command-line.f90.tmp.o: file format COFF-x86-64
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\flang\test\Driver\grecord-command-line.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: C:\_work\llvm-project\llvm-project\build\tools\flang\test\Driver\Output\grecord-command-line.f90.tmp.o: file format COFF-x86-64
# | check:22'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:22'1 ? possible intended match
# | 2:
# | check:22'0 ~
# | 3: .debug_info contents:
# | check:22'0 ~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# 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/181686
More information about the flang-commits
mailing list