[flang-commits] [clang] [flang] [Flang] Adding -ffree-line-length-<value> flag (PR #192941)

via flang-commits flang-commits at lists.llvm.org
Tue Apr 21 05:08:47 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 98869 tests passed
* 2961 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Profile-x86_64
<details>
<summary>Profile-x86_64.Linux/binary-id-lookup.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang   -m64  -ldl  -fprofile-instr-generate -Wl,--build-id=0x12345678 -fcoverage-mapping -O2 -shared /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/foo.c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/libfoo.so
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -ldl -fprofile-instr-generate -Wl,--build-id=0x12345678 -fcoverage-mapping -O2 -shared /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/foo.c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/libfoo.so
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang   -m64  -ldl  -fprofile-instr-generate -Wl,--build-id=0xabcd1234 -fcoverage-mapping -O2 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/main.c -L/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp -lfoo -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.main
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -m64 -ldl -fprofile-instr-generate -Wl,--build-id=0xabcd1234 -fcoverage-mapping -O2 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/main.c -L/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp -lfoo -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.main
# note: command had no output on stdout or stderr
# RUN: at line 5
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdir
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdir
# note: command had no output on stdout or stderr
# RUN: at line 6
env LLVM_PROFILE_FILE=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdir/default_%m.profraw LD_LIBRARY_PATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.main
# executed command: env LLVM_PROFILE_FILE=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdir/default_%m.profraw LD_LIBRARY_PATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.main
# note: command had no output on stdout or stderr
# RUN: at line 7
mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/.build-id/12 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/.build-id/ab
# executed command: mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/.build-id/12 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/.build-id/ab
# note: command had no output on stdout or stderr
# RUN: at line 8
cp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/libfoo.so /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/.build-id/12/345678.debug
# executed command: cp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/libfoo.so /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/.build-id/12/345678.debug
# note: command had no output on stdout or stderr
# RUN: at line 9
cp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/.build-id/ab/cd1234.debug
# executed command: cp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/.build-id/ab/cd1234.debug
# note: command had no output on stdout or stderr
# RUN: at line 10
llvm-profdata merge -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdir/default_*.profraw
# executed command: llvm-profdata merge -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdir/default_*.profraw'
# note: command had no output on stdout or stderr
# RUN: at line 12
llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata -debug-file-directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c
# executed command: llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata -debug-file-directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c
# note: command had no output on stdout or stderr
# RUN: at line 13
llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/libfoo.so -sources /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/foo.c -object /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.main | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c --check-prefix=FOO-ONLY
# executed command: llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/libfoo.so -sources /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/foo.c -object /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.main
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c --check-prefix=FOO-ONLY
# note: command had no output on stdout or stderr
# RUN: at line 14
llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata -debug-file-directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp -sources /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/foo.c | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c --check-prefix=FOO-ONLY
# executed command: llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata -debug-file-directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp -sources /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/foo.c
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c --check-prefix=FOO-ONLY
# note: command had no output on stdout or stderr
# RUN: at line 15
llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata -debug-file-directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/libfoo.so -sources /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/foo.c | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c --check-prefix=FOO-ONLY
# executed command: llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata -debug-file-directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/libfoo.so -sources /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/foo.c
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c --check-prefix=FOO-ONLY
# note: command had no output on stdout or stderr
# RUN: at line 17
rm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/.build-id/ab/cd1234.debug
# executed command: rm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp/.build-id/ab/cd1234.debug
# note: command had no output on stdout or stderr
# RUN: at line 18
llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata -debug-file-directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.main | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c
# executed command: llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata -debug-file-directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.main
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c
# note: command had no output on stdout or stderr
# RUN: at line 19
llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata -debug-file-directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c --check-prefix=FOO-ONLY
# executed command: llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata -debug-file-directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c --check-prefix=FOO-ONLY
# note: command had no output on stdout or stderr
# RUN: at line 20
not llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata -debug-file-directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp --check-binary-ids 2>&1 | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c --check-prefix=MISSING-BINARY-ID -DFILENAME=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata
# executed command: not llvm-cov show -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata -debug-file-directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp --check-binary-ids
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c --check-prefix=MISSING-BINARY-ID -DFILENAME=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c:32:23: error: MISSING-BINARY-ID: expected string not found in input
# | // MISSING-BINARY-ID: error: failed to load coverage: '[[FILENAME]]': Missing binary ID: abcd1234
# |                       ^
# | <stdin>:1:1: note: scanning from here
# | llvm-cov: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:1391: llvm::FileError::FileError(const Twine &, std::optional<size_t>, std::unique_ptr<ErrorInfoBase>): Assertion `E && "Cannot create FileError from Error success value."' failed.
# | ^
# | <stdin>:1:1: note: with "FILENAME" equal to "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata"
# | llvm-cov: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:1391: llvm::FileError::FileError(const Twine &, std::optional<size_t>, std::unique_ptr<ErrorInfoBase>): Assertion `E && "Cannot create FileError from Error success value."' failed.
# | ^
# | <stdin>:22:309: note: possible intended match here
# | #17 0x00000000006cce93 llvm::coverage::CoverageMapping::load(llvm::ArrayRef<llvm::StringRef>, std::optional<llvm::StringRef>, llvm::vfs::FileSystem&, llvm::ArrayRef<llvm::StringRef>, llvm::StringRef, llvm::object::BuildIDFetcher const*, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp:1117:16
# |                                                                                                                                                                                                                                                                                                                     ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/profile/Linux/binary-id-lookup.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: llvm-cov: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:1391: llvm::FileError::FileError(const Twine &, std::optional<size_t>, std::unique_ptr<ErrorInfoBase>): Assertion `E && "Cannot create FileError from Error success value."' failed. 
# | check:32'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:32'1                                                                                                                                                                                                                                                                                                with "FILENAME" equal to "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata"
# |             2: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug. 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             3: Stack dump: 
# | check:32'0     ~~~~~~~~~~~~
# |             4: 0. Program arguments: llvm-cov "llvm-cov show" -instr-profile /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp.profdata -debug-file-directory /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/binary-id-lookup.c.tmp --check-binary-ids 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             5:  #0 0x0000000000558ed8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6:  #1 0x0000000000555ea1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            17: #12 0x0000000000540caf llvm::FileError::build(llvm::Twine const&, std::optional<unsigned long>, llvm::Error) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:1404:12 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            18: #13 0x00000000006cce93 getChecked /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:298:41 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            19: #14 0x00000000006cce93 assertIsChecked /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:270:24 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            20: #15 0x00000000006cce93 ~Error /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:233:5 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            21: #16 0x00000000006cce93 createFileError /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:1416:3 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            22: #17 0x00000000006cce93 llvm::coverage::CoverageMapping::load(llvm::ArrayRef<llvm::StringRef>, std::optional<llvm::StringRef>, llvm::vfs::FileSystem&, llvm::ArrayRef<llvm::StringRef>, llvm::StringRef, llvm::object::BuildIDFetcher const*, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp:1117:16 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:32'2                                                                                                                                                                                                                                                                                                                         ?                                                  possible intended match
# |            23: #18 0x000000000048d56d takeError /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:614:15 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            24: #19 0x000000000048d56d (anonymous namespace)::CodeCoverageTool::load() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-cov/CodeCoverage.cpp:468:31 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            25: #20 0x0000000000489328 _M_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:199:51 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            26: #21 0x0000000000489328 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:470:21 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            27: #22 0x0000000000489328 operator bool /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:487:16 
# | check:32'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/192941


More information about the flang-commits mailing list