From 2dce7bec1ac2d03f1da98d261ad97b0a683f6ee5 Mon Sep 17 00:00:00 2001
From: Richard Smith <richard-llvm@metafoo.co.uk>
Date: Thu, 13 Dec 2012 07:29:23 +0000
Subject: [PATCH] Point a hyperlink back to where it was before it got
 reStructured.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170110 91177308-0d34-0410-b5e6-96231b3b80d8
---
 docs/UsersManual.rst | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/docs/UsersManual.rst b/docs/UsersManual.rst
index 22a42dc056e..4e716f57584 100644
--- a/docs/UsersManual.rst
+++ b/docs/UsersManual.rst
@@ -809,22 +809,23 @@ are listed below.
    default. If a check fails, a diagnostic message is produced at
    runtime explaining the problem. The main checks are:
 
-   .. _opt_fsanitize_address:
+   -  .. _opt_fsanitize_address:
 
-   -  ``-fsanitize=address``:
+      ``-fsanitize=address``:
       :doc:`AddressSanitizer`, a memory error
       detector.
    -  ``-fsanitize=address-full``: AddressSanitizer with all the
       experimental features listed below.
    -  ``-fsanitize=integer``: Enables checks for undefined or
       suspicious integer behavior.
-   -  ``-fsanitize=thread``: :doc:`ThreadSanitizer`,
+   -  .. _opt_fsanitize_thread:
+
+      ``-fsanitize=thread``: :doc:`ThreadSanitizer`,
       an *experimental* data race detector. Not ready for widespread
       use.
+   -  .. _opt_fsanitize_undefined:
 
-   .. _opt_fsanitize_undefined:
-
-   -  ``-fsanitize=undefined``: Fast and compatible undefined behavior
+      ``-fsanitize=undefined``: Fast and compatible undefined behavior
       checker. Enables the undefined behavior checks that have small
       runtime cost and no impact on address space layout or ABI. This
       includes all of the checks listed below other than
@@ -893,7 +894,7 @@ are listed below.
    <opt_fsanitize_address>`.
 **-f[no-]thread-sanitizer**
    Deprecated synonym for :ref:`-f[no-]sanitize=thread
-   <opt_fsanitize_address>`.
+   <opt_fsanitize_thread>`.
 **-fcatch-undefined-behavior**
    Deprecated synonym for :ref:`-fsanitize=undefined
    <opt_fsanitize_undefined>`.
-- 
GitLab