summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2016-11-09 02:12:13 +0000
committerDean Michael Berris <dberris@google.com>2016-11-09 02:12:13 +0000
commit0f1ddfa8465291349a380469549b9d8eeea994e2 (patch)
tree8f72cb110240d1d60477e5628c765a9bed756031 /llvm/docs
parentb6a11a78794b196cf8cda59d584cbe0d3243c06b (diff)
downloadbcm5719-llvm-0f1ddfa8465291349a380469549b9d8eeea994e2.tar.gz
bcm5719-llvm-0f1ddfa8465291349a380469549b9d8eeea994e2.zip
[XRay][docs] Fix llvm snippets to be well-formed
llvm-svn: 286330
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/XRay.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/XRay.rst b/llvm/docs/XRay.rst
index 5ba49c5bf3f..17dde123483 100644
--- a/llvm/docs/XRay.rst
+++ b/llvm/docs/XRay.rst
@@ -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
OpenPOWER on IntegriCloud