summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/docs/ShadowCallStack.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/ShadowCallStack.rst b/clang/docs/ShadowCallStack.rst
index b93eb0b7a70..da609dcd9de 100644
--- a/clang/docs/ShadowCallStack.rst
+++ b/clang/docs/ShadowCallStack.rst
@@ -137,7 +137,7 @@ Generates the following x86_64 assembly when compiled with ``-O2``:
.. code-block:: gas
push %rax
- callq foo
+ callq bar
add $0x1,%eax
pop %rcx
retq
@@ -165,7 +165,7 @@ assembly:
mov %gs:(%r11),%r11
mov %r10,%gs:(%r11)
push %rax
- callq foo
+ callq bar
add $0x1,%eax
pop %rcx
xor %r11,%r11
OpenPOWER on IntegriCloud