summary refs log tree commit diff stats
path: root/scripts/block-coroutine-wrapper.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2022-12-07 14:18:25 +0100
committerKevin Wolf <kwolf@redhat.com>2022-12-15 16:07:43 +0100
commit702152d1c72225d318bb1626b457f87719cc2f25 (patch)
treeea08efa3d241120ad14685668beef156e580a457 /scripts/block-coroutine-wrapper.py
parent587d82fae258794e33cacc9bf4ba61949184e822 (diff)
downloadfocaccia-qemu-702152d1c72225d318bb1626b457f87719cc2f25.tar.gz
focaccia-qemu-702152d1c72225d318bb1626b457f87719cc2f25.zip
Import clang-tsa.h
This defines macros that allow clang to perform Thread Safety Analysis
based on function and variable annotations that specify the locking
rules. On non-clang compilers, the annotations are ignored.

Imported tsa.h from the original repository with the pthread_mutex_t
wrapper removed:

https://github.com/jhi/clang-thread-safety-analysis-for-c.git

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20221207131838.239125-6-kwolf@redhat.com>
Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/block-coroutine-wrapper.py')
0 files changed, 0 insertions, 0 deletions