diff options
author | Daniele Buono <dbuono@linux.vnet.ibm.com> | 2020-05-29 16:51:21 -0400 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-06-23 15:46:05 +0100 |
commit | 1e4f6065da160977f212270893372436b8f13336 (patch) | |
tree | a04b26db387e1f59c707066d30a39e4f49680971 /tests/check-block.sh | |
parent | ff76097ad8f7fdc9d1d707bed85c146fdbb5a16d (diff) |
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 'tests/check-block.sh')
0 files changed, 0 insertions, 0 deletions