[llvm] r286330 - [XRay][docs] Fix llvm snippets to be well-formed

Dean Michael Berris via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 18:12:13 PST 2016


Author: dberris
Date: Tue Nov  8 20:12:13 2016
New Revision: 286330

URL: http://llvm.org/viewvc/llvm-project?rev=286330&view=rev
Log:
[XRay][docs] Fix llvm snippets to be well-formed

Modified:
    llvm/trunk/docs/XRay.rst

Modified: llvm/trunk/docs/XRay.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/XRay.rst?rev=286330&r1=286329&r2=286330&view=diff
==============================================================================
--- llvm/trunk/docs/XRay.rst (original)
+++ llvm/trunk/docs/XRay.rst Tue Nov  8 20:12:13 2016
@@ -96,11 +96,11 @@ C/C++/Objective-C source-level attribute
 .. 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




More information about the llvm-commits mailing list