summaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt17
1 files changed, 10 insertions, 7 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 90822801551..caf624f51d4 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -207,6 +207,10 @@ unsigned int help_columns
Variable
bool flag_opts_finished
+; What the sanitizer should instrument
+Variable
+unsigned int flag_sanitize
+
###
Driver
@@ -850,13 +854,9 @@ fargument-noalias-anything
Common Ignore
Does nothing. Preserved for backward compatibility.
-fsanitize=address
-Common Report Var(flag_asan)
-Enable AddressSanitizer, a memory error detector
-
-fsanitize=thread
-Common Report Var(flag_tsan)
-Enable ThreadSanitizer, a data race detector
+fsanitize=
+Common Driver Report Joined
+Select what to sanitize
fasynchronous-unwind-tables
Common Report Var(flag_asynchronous_unwind_tables) Optimization
@@ -2604,6 +2604,9 @@ Driver
static-libtsan
Driver
+static-libubsan
+Driver
+
symbolic
Driver