diff options
author | Wei Mi <wmi@google.com> | 2012-11-21 17:46:00 +0000 |
---|---|---|
committer | Wei Mi <wmi@gcc.gnu.org> | 2012-11-21 17:46:00 +0000 |
commit | dde19676a42bf503b1a3ab3c901fc9d39740e569 (patch) | |
tree | 395e60bc75ff67ffb087dd4dbf356ef284d9d21f /gcc/gcc.c | |
parent | eb20b7788fe0a9f43657668207677833e3881741 (diff) | |
download | gcc-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/gcc.c')
-rw-r--r-- | gcc/gcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -696,7 +696,7 @@ proper position among the other output files. */ %{fgnu-tm:%:include(libitm.spec)%(link_itm)}\ %(mflib) " STACK_SPLIT_SPEC "\ %{fprofile-arcs|fprofile-generate*|coverage:-lgcov}\ - %{faddress-sanitizer:" LIBASAN_SPEC "}\ + %{fsanitize=address:" LIBASAN_SPEC "}\ %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}}\ %{!nostdlib:%{!nostartfiles:%E}} %{T*} }}}}}}" #endif |