Instantly share code, notes, and snippets.

Embed
What would you like to do?
--- closure2.s 2015-10-15 09:22:17.000000000 +0100
+++ function2.s 2015-10-15 09:22:18.000000000 +0100
@@ -1,6 +1,6 @@
.section __TEXT,__text,regular,pure_instructions
.align 4, 0x90
-__ZN4main20h7b2594820b9cacc4eaaE:
+__ZN4main20h47f1f4c08b3bd344oaaE:
Lfunc_begin0:
.cfi_startproc
.cfi_personality 155, _rust_eh_personality
@@ -36,9 +36,9 @@
movq %rax, %r15
testq %r15, %r15
je LBB0_19
- movl _const1808+8(%rip), %eax
+ movl _const1810+8(%rip), %eax
movl %eax, 8(%r15)
- movq _const1808(%rip), %rax
+ movq _const1810(%rip), %rax
movq %rax, (%r15)
Ltmp0:
movl $12, %edi
@@ -50,9 +50,7 @@
je LBB0_5
movabsq $17179869186, %rax
movq %rax, (%rbx)
- movl 8(%r15), %eax
- addl %eax, %eax
- movl %eax, 8(%rbx)
+ movl $6, 8(%rbx)
Ltmp2:
movl $12, %esi
xorl %edx, %edx
@@ -62,11 +60,11 @@
movq %rbx, -112(%rbp)
movq $3, -104(%rbp)
movq $3, -96(%rbp)
- leaq __ZN3vec23Vec$LT$T$GT$.fmt..Debug3fmt21h18042140428522740720E(%rip), %rax
+ leaq __ZN3vec23Vec$LT$T$GT$.fmt..Debug3fmt20h1384158236688774898E(%rip), %rax
movq %rax, -80(%rbp)
leaq -112(%rbp), %rax
movq %rax, -88(%rbp)
- leaq _ref2145(%rip), %rax
+ leaq _ref2147(%rip), %rax
movq %rax, -72(%rbp)
movq $2, -64(%rbp)
movq $0, -48(%rbp)
@@ -212,7 +210,7 @@
.section __TEXT,__text,regular,pure_instructions
.align 4, 0x90
-__ZN3vec23Vec$LT$T$GT$.fmt..Debug3fmt21h18042140428522740720E:
+__ZN3vec23Vec$LT$T$GT$.fmt..Debug3fmt20h1384158236688774898E:
.cfi_startproc
cmpq %gs:816, %rsp
ja LBB1_2
@@ -252,7 +250,7 @@
testq %r13, %r13
je LBB1_5
shlq $2, %r13
- leaq _vtable2110(%rip), %r14
+ leaq _vtable2112(%rip), %r14
leaq -64(%rbp), %r15
leaq -48(%rbp), %r12
.align 4, 0x90
@@ -279,11 +277,11 @@
.cfi_endproc
.align 4, 0x90
-__ZN2i89drop.210617hbeebf6ea8e707b19E:
+__ZN2i89drop.210817h394f068857b35ecfE:
retq
.align 4, 0x90
-__ZN3fmt23_$RF$$u27$a$u20$T.Debug3fmt21h15878224096388941957E:
+__ZN3fmt23_$RF$$u27$a$u20$T.Debug3fmt21h16676189281031791116E:
.cfi_startproc
cmpq %gs:816, %rsp
ja LBB3_2
@@ -311,7 +309,7 @@
.cfi_startproc
movq %rsi, %rax
movq %rdi, %rcx
- leaq __ZN4main20h7b2594820b9cacc4eaaE(%rip), %rdi
+ leaq __ZN4main20h47f1f4c08b3bd344oaaE(%rip), %rdi
movq %rcx, %rsi
movq %rax, %rdx
jmp __ZN2rt10lang_start20hd654f015947477d622wE
@@ -319,32 +317,32 @@
.section __TEXT,__const
.align 2
-_const1808:
+_const1810:
.long 1
.long 2
.long 3
.section __DATA,__const
.align 4
-_vtable2110:
- .quad __ZN2i89drop.210617hbeebf6ea8e707b19E
+_vtable2112:
+ .quad __ZN2i89drop.210817h394f068857b35ecfE
.quad 8
.quad 8
- .quad __ZN3fmt23_$RF$$u27$a$u20$T.Debug3fmt21h15878224096388941957E
+ .quad __ZN3fmt23_$RF$$u27$a$u20$T.Debug3fmt21h16676189281031791116E
.section __TEXT,__const
-_str2143:
+_str2145:
.byte 0
-_str2144:
+_str2146:
.byte 10
.section __DATA,__const
.align 4
-_ref2145:
- .quad _str2143
+_ref2147:
+ .quad _str2145
.quad 0
- .quad _str2144
+ .quad _str2146
.quad 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment