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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286330 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dean Michael Berris 2016-11-09 02:12:13 +00:00
parent 129c9fcdb8
commit 2adde22ecd

View 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