git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286330
91177308-0d34-0410-b5e6-
96231b3b80d8
.. 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
.. code-block:: llvm
define i32 @maybe_instrument() uwtable "xray-instruction-threshold"="2" {
- // ...
+ ; ...
}
XRay Runtime Library