summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2018-05-01 00:15:56 +0000
committerKostya Serebryany <kcc@google.com>2018-05-01 00:15:56 +0000
commitd5dc819a5c6fb0138308cb52096e30d28d4a52b4 (patch)
tree0dc4e69ef50fce385696357629c25b29e91141ab /clang
parent80244258016b559b2c8ff8e64a7f588dcc543d90 (diff)
downloadbcm5719-llvm-d5dc819a5c6fb0138308cb52096e30d28d4a52b4.tar.gz
bcm5719-llvm-d5dc819a5c6fb0138308cb52096e30d28d4a52b4.zip
[ShadowCallStack] fix the docs
llvm-svn: 331238
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