summaryrefslogtreecommitdiff
path: root/config/cc/gcc.in.2
diff options
context:
space:
mode:
Diffstat (limited to 'config/cc/gcc.in.2')
-rw-r--r--config/cc/gcc.in.214
1 files changed, 14 insertions, 0 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
index ef97698..1b9515c 100644
--- a/config/cc/gcc.in.2
+++ b/config/cc/gcc.in.2
@@ -143,6 +143,20 @@ config CC_GCC_LIBQUADMATH
The default is 'N'. Say 'Y' if you need it, and report success/failure.
+config CC_GCC_LIBSANITIZER
+ bool
+ prompt "Compile libsanitizer"
+ depends on CC_GCC_HAS_LIBSANITIZER
+ depends on THREADS_NATIVE
+ depends on ! LIBC_uClibc # Currently lacks required headers (like netrom.h)
+ help
+ libsanitizer is a library which provides run-time sanitising of either
+ or both of:
+ - memory access patterns (out-of-bonds, use-after-free)
+ - racy data accesses (in multi-threaded programs)
+
+ The default is 'N'. Say 'Y' if you need it, and report success/failure.
+
#-----------------------------------------------------------------------------
comment "Misc. obscure options."