diff options
author | Dean Michael Berris <dberris@google.com> | 2016-11-09 02:12:13 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2016-11-09 02:12:13 +0000 |
commit | 2adde22ecd124c153c14ce594d868b3417f4101b (patch) | |
tree | 7932daa5faf64ab8921031a2d7334113a344978b /docs | |
parent | 129c9fcdb8e103a5f9c71d5d1d73277600ef80a6 (diff) |
[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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/XRay.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/XRay.rst b/docs/XRay.rst index 5ba49c5bf3f..17dde123483 100644 --- a/docs/XRay.rst +++ b/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 |