[clang] [llvm] [Clang][CodeGen][Coroutines] Make coroutine startup exception-safe (CWG2935) Part1 (PR #179189)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 2 02:01:01 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 85990 tests passed
* 1231 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGenCoroutines/coro-halo.cpp</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -std=c++20 -O2 -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCoroutines/coro-halo.cpp -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCoroutines/coro-halo.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -std=c++20 -O2 -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCoroutines/coro-halo.cpp -o -
# .---command stderr------------
# | Instruction referencing instruction not embedded in a basic block!
# | %direct.gro.active = alloca i1, align 1
# | store i1 false, ptr %direct.gro.active, align 1
# | fatal error: error in backend: Broken module found, compilation aborted!
# `-----------------------------
# error: command failed with exit status: 70
# 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/CodeGenCoroutines/coro-halo.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/CodeGenCoroutines/coro-halo.cpp
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>Clang.CodeGenCoroutines/pr56919.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -std=c++20 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCoroutines/pr56919.cpp -O3 -S -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCoroutines/pr56919.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -std=c++20 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCoroutines/pr56919.cpp -O3 -S -o -
# 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/CodeGenCoroutines/pr56919.cpp
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCoroutines/pr56919.cpp:114:16: error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: movl $40, %esi
# | ^
# | <stdin>:97:2: note: scanning from here
# | # %bb.0: # %resume.entry
# | ^
# | <stdin>:110:2: note: possible intended match here
# | movl $48, %esi
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCoroutines/pr56919.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 92: .size _Z3Quxv.resume, .Lfunc_end3-_Z3Quxv.resume
# | 93: # -- End function
# | 94: .p2align 4 # -- Begin function _Z3Quxv.destroy
# | 95: .type _Z3Quxv.destroy, at function
# | 96: _Z3Quxv.destroy: # @_Z3Quxv.destroy
# | 97: # %bb.0: # %resume.entry
# | next:114'0 X~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 98: cmpq $0, (%rdi)
# | next:114'0 ~~~~~~~~~~~~~~~~~
# | 99: je .LBB4_2
# | next:114'0 ~~~~~~~~~~~~
# | 100: # %bb.1: # %cleanup.action.critedge.critedge
# | next:114'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 101: pushq %rbx
# | next:114'0 ~~~~~~~~~~~~
# | 102: movq 32(%rdi), %rax
# | next:114'0 ~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 105: movq %rax, %rdi
# | next:114'0 ~~~~~~~~~~~~~~~~~
# | 106: callq *8(%rax)
# | next:114'0 ~~~~~~~~~~~~~~~~
# | 107: movq %rbx, %rdi
# | next:114'0 ~~~~~~~~~~~~~~~~~
# | 108: popq %rbx
# | next:114'0 ~~~~~~~~~~~
# | 109: .LBB4_2: # %CoroEnd
# | next:114'0 ~~~~~~~~~~~~~~~~~~~~
# | 110: movl $48, %esi
# | next:114'0 ~~~~~~~~~~~~~~~~
# | next:114'1 ? possible intended match
# | 111: jmp _ZdlPvm at PLT # TAILCALL
# | next:114'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 112: .Lfunc_end4:
# | next:114'0 ~~~~~~~~~~~~~
# | 113: .size _Z3Quxv.destroy, .Lfunc_end4-_Z3Quxv.destroy
# | next:114'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 114: # -- End function
# | next:114'0 ~~~~~~~~~~~~~~~~~~~
# | 115: .p2align 4 # -- Begin function _Z3Bazv.resume
# | next:114'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/179189
More information about the cfe-commits
mailing list