From 2adde22ecd124c153c14ce594d868b3417f4101b Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Wed, 9 Nov 2016 02:12:13 +0000 Subject: [PATCH] [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 --- docs/XRay.rst | 6 +++--- 1 file 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 -- 2.40.0