Alberto Faria cbdbc47cee coroutine: annotate coroutine_fn for libclang
Clang has a generic __annotate__ attribute that can be used by
static analyzers to understand properties of functions and
analyze the control flow.  Furthermore, unlike TSA annotations, the
__annotate__ attribute applies to function pointers as well.

As a first step towards static analysis of coroutine_fn markers,
attach the attribute to the marker when compiling with clang.

Signed-off-by: Alberto Faria <afaria@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221216110758.559947-2-pbonzini@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2023-01-24 18:26:41 +01:00
..
2023-01-06 00:50:32 +01:00
2022-03-04 08:50:41 -10:00
2022-07-13 16:58:57 +02:00
2020-12-10 12:15:18 -05:00
2016-06-07 18:19:23 +03:00
2017-10-16 20:57:13 +03:00
2020-10-15 16:06:27 +02:00
2022-12-20 17:09:41 -08:00
2022-10-07 12:11:41 +02:00
2022-04-20 10:51:11 -07:00
2019-09-11 08:46:17 +02:00
2020-12-10 17:16:44 +01:00
2022-04-21 17:03:51 +04:00
2018-09-26 08:55:54 -07:00
2019-04-18 22:18:59 +02:00
2022-03-04 18:14:40 +01:00
Hi,
2022-10-30 18:31:59 -04:00
2016-02-23 12:43:05 +00:00
2018-08-24 20:26:37 +02:00
2016-09-15 15:32:22 +03:00
2021-04-01 15:27:44 +04:00