Add -static-libasan option to the GCC driver
authorH.J. Lu <hongjiu.lu@intel.com>
Sat, 17 Nov 2012 20:31:06 +0000 (20:31 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sat, 17 Nov 2012 20:31:06 +0000 (12:31 -0800)
commit7e8d1b2d1ef3ab73a6123b0fa5000e4675752d97
tree2d820ab7aa3aa6203fee051f0c0d85dc991da942
parent295d875ce02f75bf3485027a91642a2c31ab01e4
Add -static-libasan option to the GCC driver

* common.opt (static-libasan): New option.
* gcc.c (LIBASAN_SPEC): New macro.
(LINK_COMMAND_SPEC): Replace -lasan with LIBASAN_SPEC.
* doc/invoke.texi: Document -static-libasan.

From-SVN: r193589
gcc/ChangeLog
gcc/common.opt
gcc/doc/invoke.texi
gcc/gcc.c