]> granicus.if.org Git - llvm/commitdiff
[XRay][docs] Fix llvm snippets to be well-formed
authorDean Michael Berris <dberris@google.com>
Wed, 9 Nov 2016 02:12:13 +0000 (02:12 +0000)
committerDean Michael Berris <dberris@google.com>
Wed, 9 Nov 2016 02:12:13 +0000 (02:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286330 91177308-0d34-0410-b5e6-96231b3b80d8

docs/XRay.rst

index 5ba49c5bf3fcae7a852864a252aeb9858aa7b73d..17dde1234837ef85e33631fc8f3a3ce60efdd2d5 100644 (file)
@@ -96,11 +96,11 @@ C/C++/Objective-C source-level attributes would get:
 .. code-block:: llvm
 
     define i32 @always_instrument() uwtable "function-instrument"="xray-always" {
-      // ...
+      ; ...
     }
 
     define i32 @never_instrument() uwtable "function-instrument"="xray-never" {
-      // ...
+      ; ...
     }
 
 You can also set the ``xray-instruction-threshold`` attribute and provide a
@@ -110,7 +110,7 @@ it gets instrumented.
 .. code-block:: llvm
 
     define i32 @maybe_instrument() uwtable "xray-instruction-threshold"="2" {
-      // ...
+      ; ...
     }
 
 XRay Runtime Library