Skip to content

Commit c88474f

Browse files
Add release note entry
1 parent e11b488 commit c88474f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,9 @@ Bug Fixes in This Version
610610
inside a lambda. (`#61460 <https://github.com/llvm/llvm-project/issues/61460>`_)
611611
- Fix crash during instantiation of some class template specializations within class
612612
templates. Fixes (`#70375 <https://github.com/llvm/llvm-project/issues/70375>`_)
613+
- Fix crash during code generation of C++ coroutine initial suspend when the return
614+
type of await_resume is not trivially destructible.
615+
Fixes (`#63803 <https://github.com/llvm/llvm-project/issues/63803>`_)
613616

614617
Bug Fixes to Compiler Builtins
615618
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

clang/lib/CodeGen/CGCoroutine.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ static SmallString<32> buildSuspendPrefixStr(CGCoroData &Coro, AwaitKind Kind) {
130130
}
131131

132132
static bool memberCallExpressionCanThrow(const Expr *E) {
133+
E->dump();
134+
std::terminate();
133135
if (const auto *CE = dyn_cast<CXXMemberCallExpr>(E))
134136
if (const auto *Proto =
135137
CE->getMethodDecl()->getType()->getAs<FunctionProtoType>())

0 commit comments

Comments
 (0)