r331238 - [ShadowCallStack] fix the docs

Kostya Serebryany via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 30 17:15:56 PDT 2018


Author: kcc
Date: Mon Apr 30 17:15:56 2018
New Revision: 331238

URL: http://llvm.org/viewvc/llvm-project?rev=331238&view=rev
Log:
[ShadowCallStack] fix the docs

Modified:
    cfe/trunk/docs/ShadowCallStack.rst

Modified: cfe/trunk/docs/ShadowCallStack.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ShadowCallStack.rst?rev=331238&r1=331237&r2=331238&view=diff
==============================================================================
--- cfe/trunk/docs/ShadowCallStack.rst (original)
+++ cfe/trunk/docs/ShadowCallStack.rst Mon Apr 30 17:15:56 2018
@@ -137,7 +137,7 @@ Generates the following x86_64 assembly
 .. 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




More information about the cfe-commits mailing list