From b4b401d23c09aa0a4f8289c69832f4e2aa04bdc2 Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hongjiu.lu@intel.com>
Date: Wed, 21 Nov 2012 20:28:29 +0000
Subject: [PATCH] Document __SANITIZE_ADDRESS__

	* doc/cpp.texi: Document __SANITIZE_ADDRESS__.

From-SVN: r193705
---
 gcc/ChangeLog    | 4 ++++
 gcc/doc/cpp.texi | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2337fc93774b..781ac5d16b14 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
 
 	PR c/55397
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index c463e7c2a82a..682ee9f1161a 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -2352,6 +2352,10 @@ use.
 This macro is defined, with value 2, when @option{-fstack-protector-all} is
 in use.
 
+@item __SANITIZE_ADDRESS__
+This macro is defined, with value 1, when @option{-fsanitize=address} is
+in use.
+
 @item __TIMESTAMP__
 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
-- 
GitLab