summaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorwmi <wmi@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-21 17:46:00 +0000
committerwmi <wmi@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-21 17:46:00 +0000
commit5ab1f49e69f8478b3a867d6e21378b42ee4e5f2e (patch)
tree395e60bc75ff67ffb087dd4dbf356ef284d9d21f /gcc/common.opt
parent87228246e9973f3435636129dc185052a7162c5c (diff)
downloadgcc-5ab1f49e69f8478b3a867d6e21378b42ee4e5f2e.tar.gz
* common.opt: Change faddress-sanitizer to fsanitize=address.
* toplev.c (process_options): Likewise. * gcc.c (LINK_COMMAND_SPEC): Likewise. * testsuite/lib/asan-dg.exp (check_effective_target_faddress_sanitizer): Likewise. (asan_init): Likewise. * doc/invoke.texi (-fsanitize=address): Document. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193702 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index be6fe4f35d2..d3ad5ab588b 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -840,7 +840,7 @@ fargument-noalias-anything
Common Ignore
Does nothing. Preserved for backward compatibility.
-faddress-sanitizer
+fsanitize=address
Common Report Var(flag_asan)
Enable AddressSanitizer, a memory error detector