summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/docs/XRay.rst4
-rw-r--r--llvm/docs/XRayExample.rst4
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/docs/XRay.rst b/llvm/docs/XRay.rst
index 9e08c358803..e9ecc13e3b2 100644
--- a/llvm/docs/XRay.rst
+++ b/llvm/docs/XRay.rst
@@ -75,11 +75,11 @@ GCC-style attributes or C++11-style attributes.
.. code-block:: c++
- [[clang::xray_always_intrument]] void always_instrumented();
+ [[clang::xray_always_instrument]] void always_instrumented();
[[clang::xray_never_instrument]] void never_instrumented();
- void alt_always_instrumented() __attribute__((xray_always_intrument));
+ void alt_always_instrumented() __attribute__((xray_always_instrument));
void alt_never_instrumented() __attribute__((xray_never_instrument));
diff --git a/llvm/docs/XRayExample.rst b/llvm/docs/XRayExample.rst
index 718b302a503..56f17507d82 100644
--- a/llvm/docs/XRayExample.rst
+++ b/llvm/docs/XRayExample.rst
@@ -275,11 +275,11 @@ application.
#include <iostream>
#include <thread>
- [[clang::xray_always_intrument]] void f() {
+ [[clang::xray_always_instrument]] void f() {
std::cerr << '.';
}
- [[clang::xray_always_intrument]] void g() {
+ [[clang::xray_always_instrument]] void g() {
for (int i = 0; i < 1 << 10; ++i) {
std::cerr << '-';
}
OpenPOWER on IntegriCloud