Skip to content

Instantly share code, notes, and snippets.

Created May 12, 2014 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/220283e82cd99911b976 to your computer and use it in GitHub Desktop.
Save anonymous/220283e82cd99911b976 to your computer and use it in GitHub Desktop.
stdin
1d0
< .text
11a11
> .text
13c13
< ___cxx_global_var_init: # @__cxx_global_var_init
---
> ___cxx_global_var_init:
15d14
< # BB#0: # %entry
17c16
< Ltmp0:
---
> Ltmp2:
19c18
< Ltmp1:
---
> Ltmp3:
22c21
< Ltmp2:
---
> Ltmp4:
25c24,25
< movl $__ZStL8__ioinit, %ecx
---
> leal __ZStL8__ioinit, %eax
> movl %eax, (%esp)
27,28c27,28
< leal ___dtor__ZStL8__ioinit, %ecx
< movl %ecx, (%esp)
---
> leal ___dtor__ZStL8__ioinit, %eax
> movl %eax, (%esp)
30c30
< movl %eax, -4(%ebp) # 4-byte Spill
---
> movl %eax, -4(%ebp)
33c33
< retl
---
> ret
41c41
< ___dtor__ZStL8__ioinit: # @__dtor__ZStL8__ioinit
---
> ___dtor__ZStL8__ioinit:
43d42
< # BB#0: # %entry
45c44
< Ltmp3:
---
> Ltmp7:
47c46
< Ltmp4:
---
> Ltmp8:
50c49
< Ltmp5:
---
> Ltmp9:
52c51,53
< movl $__ZStL8__ioinit, %ecx
---
> pushl %eax
> leal __ZStL8__ioinit, %eax
> movl %eax, (%esp)
53a55
> addl $4, %esp
55c57
< retl
---
> ret
64c66
< _main: # @main
---
> _main:
66d67
< # BB#0: # %entry
68c69
< Ltmp6:
---
> Ltmp12:
70c71
< Ltmp7:
---
> Ltmp13:
73c74
< Ltmp8:
---
> Ltmp14:
83,85c84,86
< movl %esp, %ecx
< movl $__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_, (%ecx)
< movl %eax, %ecx
---
> leal __ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_, %ecx
> movl %eax, (%esp)
> movl %ecx, 4(%esp)
87d87
< subl $4, %esp
89c89
< movl %eax, -8(%ebp) # 4-byte Spill
---
> movl %eax, -8(%ebp)
93c93
< retl
---
> ret
101c101
< __GLOBAL__I_a: # @_GLOBAL__I_a
---
> __GLOBAL__I_a:
103d102
< # BB#0: # %entry
105c104
< Ltmp9:
---
> Ltmp17:
107c106
< Ltmp10:
---
> Ltmp18:
110c109
< Ltmp11:
---
> Ltmp19:
114c113
< retl
---
> ret
117,119c116,118
< .lcomm __ZStL8__ioinit,1 # @_ZStL8__ioinit
< .section .rdata,"rd"
< L_.str: # @.str
---
> .lcomm __ZStL8__ioinit,1
> .section .rdata,"r"
> L_.str:
122c121
< .section .ctors,"wd"
---
> .section .ctors,"w"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment