summaryrefslogtreecommitdiffstats
path: root/include/exec/plugin-gen.h
diff options
context:
space:
mode:
authorDaniele Buono2020-05-29 22:51:21 +0200
committerStefan Hajnoczi2020-06-23 16:46:05 +0200
commit1e4f6065da160977f212270893372436b8f13336 (patch)
treea04b26db387e1f59c707066d30a39e4f49680971 /include/exec/plugin-gen.h
parentcoroutine: add check for SafeStack in sigaltstack (diff)
downloadqemu-1e4f6065da160977f212270893372436b8f13336.tar.gz
qemu-1e4f6065da160977f212270893372436b8f13336.tar.xz
qemu-1e4f6065da160977f212270893372436b8f13336.zip
configure: add flags to support SafeStack
This patch adds a flag to enable/disable the SafeStack instrumentation provided by LLVM. On enable, make sure that the compiler supports the flags, and that we are using the proper coroutine implementation (coroutine-ucontext). On disable, explicitly disable the option if it was enabled by default. While SafeStack is supported only on Linux, NetBSD, FreeBSD and macOS, we are not checking for the O.S. since this is already done by LLVM. Signed-off-by: Daniele Buono <dbuono@linux.vnet.ibm.com> Message-id: 20200529205122.714-4-dbuono@linux.vnet.ibm.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/exec/plugin-gen.h')
0 files changed, 0 insertions, 0 deletions