aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2012-11-21 17:46:00 +0000
committerWei Mi <wmi@gcc.gnu.org>2012-11-21 17:46:00 +0000
commitdde19676a42bf503b1a3ab3c901fc9d39740e569 (patch)
tree395e60bc75ff67ffb087dd4dbf356ef284d9d21f /gcc/toplev.c
parenteb20b7788fe0a9f43657668207677833e3881741 (diff)
downloadgcc-dde19676a42bf503b1a3ab3c901fc9d39740e569.zip
gcc-dde19676a42bf503b1a3ab3c901fc9d39740e569.tar.gz
gcc-dde19676a42bf503b1a3ab3c901fc9d39740e569.tar.bz2
common.opt: Change faddress-sanitizer to fsanitize=address.
* 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. From-SVN: r193702
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index f7e2099..fcdbd1a 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1549,7 +1549,7 @@ process_options (void)
&& (targetm.asan_shadow_offset == NULL
|| !FRAME_GROWS_DOWNWARD))
{
- warning (0, "-faddress-sanitizer not supported for this target");
+ warning (0, "-fsanitize=address not supported for this target");
flag_asan = 0;
}