[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)
llvm-svn: 331238

clang/docs/ShadowCallStack.rst

index b93eb0b..da609dc 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