llvm-project/clang/test/CodeGenCoroutines
Chuanqi Xu 495419628b [NFC] Add test of sized deallocation for coroutines
[dcl.fct.def.coroutine]p12 says:

> If both a usual deallocation function with only a pointer parameter
> and a usual deallocation function with both a pointer parameter and a
> size parameter are found, then the selected deallocation function
> shall be the one with two parameters.

However, the sized deallocation function is disabled by default for ABI
reasons. This leads the sentence never get tested and covered. This
commit tries to add a test for it
2022-09-06 14:44:16 +08:00
..
Inputs [NFC][Coroutines] Add regression test for heap allocation elision optimization 2022-07-11 16:41:05 +02:00
coro-alloc-2.cpp [C++20] [Coroutines] Conform the updates for CWG issue 2585 2022-05-25 10:31:26 +08:00
coro-alloc-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-alloc.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-always-inline-exp-namespace.cpp [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
coro-always-inline.cpp [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
coro-attributes.cpp [coroutine] add nomerge function attribute to `llvm.coro.save` 2022-07-12 10:39:38 -07:00
coro-await-domination-exp-namespace.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-await-domination.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-await-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-await-resume-eh-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-await-resume-eh.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-await.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-builtins-err.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
coro-builtins.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-cleanup-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-cleanup.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-dealloc.cpp [NFC] Add test of sized deallocation for coroutines 2022-09-06 14:44:16 +08:00
coro-dest-slot-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-dest-slot.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-destructor-of-final_suspend.cpp [Coroutines] Store the index for final suspend point if there is unwind coro end 2022-08-26 14:05:46 +08:00
coro-dwarf-exp-namespace.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-dwarf.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-eh-cleanup-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-eh-cleanup.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-elide.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-gro-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-gro.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-gro2-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-gro2.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-halo.cpp [NFC][Coroutines] Add regression test for heap allocation elision optimization 2022-07-11 16:41:05 +02:00
coro-lambda-exp-namespace.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-lambda.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-newpm-pipeline-exp-namespace.cpp [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
coro-newpm-pipeline.cpp [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
coro-params-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-params.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-promise-dtor-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-promise-dtor.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-ret-void-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-ret-void.cpp [clang][NFC] Cleanup some coroutine tests 2022-05-16 05:15:12 -07:00
coro-return-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-return-voidtype-initlist-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-return-voidtype-initlist.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-return.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-01-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-01.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-02-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-02.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-03.cpp [NFC] [Coroutines] Add regression tests for symmetric transfer and coroutine elision 2022-01-12 19:39:56 +08:00
coro-unhandled-exception-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-unhandled-exception.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
microsoft-abi-operator-coawait-exp-namespace.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
microsoft-abi-operator-coawait.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
pr56329.cpp [PowerPC][Coroutines] Add tail-call check with call information for coroutines 2022-08-21 22:20:40 -04:00
pr56919.cpp [Coroutines] Store the index for final suspend point if there is unwind coro end 2022-08-26 14:05:46 +08:00