[ASan] Update docs for -fsanitize=init-order option

llvm-svn: 177062
diff --git a/clang/docs/AddressSanitizer.rst b/clang/docs/AddressSanitizer.rst
index ad30d0a..57cb4fe 100644
--- a/clang/docs/AddressSanitizer.rst
+++ b/clang/docs/AddressSanitizer.rst
@@ -117,6 +117,15 @@
 ``__has_feature(address_sanitizer)``. Note: currently, this attribute will be
 lost if the function is inlined.
 
+``Initialization order checking``
+---------------------------------
+
+AddressSanitizer can optionally detect dynamic initialization order problems,
+when initialization of globals defined in one translation unit uses
+globals defined in another translation unit. To enable this check at runtime,
+you should set environment variable
+``ASAN_OPTIONS=check_initialization_order=1``.
+    
 Supported Platforms
 ===================
 
diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst
index 281cc20..6cc8361 100644
--- a/clang/docs/UsersManual.rst
+++ b/clang/docs/UsersManual.rst
@@ -842,6 +842,8 @@
       ``-fsanitize=address``:
       :doc:`AddressSanitizer`, a memory error
       detector.
+   -  ``-fsanitize=init-order``: Make AddressSanitizer check for
+      dynamic initialization order problems. Implied by ``-fsanitize=address``.
    -  ``-fsanitize=address-full``: AddressSanitizer with all the
       experimental features listed below.
    -  ``-fsanitize=integer``: Enables checks for undefined or
@@ -917,8 +919,6 @@
    Experimental features of AddressSanitizer (not ready for widespread
    use, require explicit ``-fsanitize=address``):
 
-   -  ``-fsanitize=init-order``: Check for dynamic initialization order
-      problems.
    -  ``-fsanitize=use-after-return``: Check for use-after-return
       errors (accessing local variable after the function exit).
    -  ``-fsanitize=use-after-scope``: Check for use-after-scope errors