Commit b4b401d2 by H.J. Lu Committed by H.J. Lu

Document __SANITIZE_ADDRESS__

	* doc/cpp.texi: Document __SANITIZE_ADDRESS__.

From-SVN: r193705
parent 70e0bf7b
2012-11-21 H.J. Lu <hongjiu.lu@intel.com> 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>
PR c/55397 PR c/55397
* cppbuiltin.c (define_builtin_macros_for_compilation_flags): * cppbuiltin.c (define_builtin_macros_for_compilation_flags):
Define __SANITIZE_ADDRESS__ for flag_asan. Define __SANITIZE_ADDRESS__ for flag_asan.
...@@ -2352,6 +2352,10 @@ use. ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment