]> granicus.if.org Git - clang/commitdiff
[ShadowCallStack] fix the docs
authorKostya Serebryany <kcc@google.com>
Tue, 1 May 2018 00:15:56 +0000 (00:15 +0000)
committerKostya Serebryany <kcc@google.com>
Tue, 1 May 2018 00:15:56 +0000 (00:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331238 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ShadowCallStack.rst

index b93eb0b7a708e84fe4062d3d856b9bdec4dc6e78..da609dcd9de47404beda5663b6c39ba52200a2ab 100644 (file)
@@ -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