llvm-project/clang/test/CodeGenCoroutines
Roman Lebedev 16d0381841
Return "[CGCall] Annotate `this` argument with alignment"
The original change was reverted because it was discovered
that clang mishandles thunks, and they receive wrong
attributes for their this/return types - the ones for the function
they will call, not the ones they have.

While i have tried to fix this in https://reviews.llvm.org/D100388
that patch has been up and stuck for a month now,
with little signs of progress.

So while it will be good to solve this for real,
for now we can simply avoid introducing the bug,
by not annotating this/return for thunks.

This reverts commit 6270b3a1ea,
relanding 0aa0458f14.
2021-05-13 20:33:14 +03:00
..
Inputs [Coroutine][Sema] Tighten the lifetime of symmetric transfer returned handle 2020-09-11 13:35:37 -07:00
coro-alloc.cpp [Coroutine][Clang] Force emit lifetime intrinsics for Coroutines 2021-03-25 13:46:20 -07:00
coro-always-inline.cpp Revert "[Coroutines] Set presplit attribute in Clang instead of CoroEarly pass" 2021-04-18 17:22:28 -07:00
coro-await-domination.cpp [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
coro-await-resume-eh.cpp [Coroutine][Clang] Force emit lifetime intrinsics for Coroutines 2021-03-25 13:46:20 -07:00
coro-await.cpp [Coroutine][Clang] Force emit lifetime intrinsics for Coroutines 2021-03-25 13:46:20 -07:00
coro-builtins-err.c
coro-builtins.c
coro-cleanup.cpp [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
coro-dest-slot.cpp [NFC][Coroutines] Fix two tests by removing hardcoded SSA value. 2021-05-09 19:06:16 -07:00
coro-dwarf.cpp [Clang][Coroutine][DebugInfo] Relax test ordering requirement 2021-04-26 10:07:22 +01:00
coro-eh-cleanup.cpp
coro-gro-nrvo.cpp [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
coro-gro.cpp [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
coro-lambda.cpp
coro-newpm-pipeline.cpp [NewPM] Hide pass manager debug logging behind -debug-pass-manager-verbose 2021-05-07 21:51:47 -07:00
coro-params.cpp [NFC][Coroutines] Fix two tests by removing hardcoded SSA value. 2021-05-09 19:06:16 -07:00
coro-promise-dtor.cpp [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
coro-ret-void.cpp [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
coro-return-voidtype-initlist.cpp [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
coro-return.cpp [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
coro-symmetric-transfer-01.cpp Return "[CGCall] Annotate `this` argument with alignment" 2021-05-13 20:33:14 +03:00
coro-symmetric-transfer-02.cpp [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
coro-unhandled-exception.cpp [Coroutine][Clang] Force emit lifetime intrinsics for Coroutines 2021-03-25 13:46:20 -07:00
microsoft-abi-operator-coawait.cpp