Document __SANITIZE_ADDRESS__

* doc/cpp.texi: Document __SANITIZE_ADDRESS__.

From-SVN: r193705
This commit is contained in:
H.J. Lu 2012-11-21 20:28:29 +00:00 committed by H.J. Lu
parent 70e0bf7b7c
commit b4b401d23c
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
* doc/cpp.texi: Document __SANITIZE_ADDRESS__.
2012-11-21 H.J. Lu <hongjiu.lu@intel.com> 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
PR c/55397 PR c/55397

View File

@ -2352,6 +2352,10 @@ use.
This macro is defined, with value 2, when @option{-fstack-protector-all} is This macro is defined, with value 2, when @option{-fstack-protector-all} is
in use. in use.
@item __SANITIZE_ADDRESS__
This macro is defined, with value 1, when @option{-fsanitize=address} is
in use.
@item __TIMESTAMP__ @item __TIMESTAMP__
This macro expands to a string constant that describes the date and time This macro expands to a string constant that describes the date and time
of the last modification of the current source file. The string constant of the last modification of the current source file. The string constant