Skip to content

Instantly share code, notes, and snippets.

@XMPPwocky
Created February 13, 2015 22:21
Show Gist options
  • Save XMPPwocky/e24473a99d7171323d10 to your computer and use it in GitHub Desktop.
Save XMPPwocky/e24473a99d7171323d10 to your computer and use it in GitHub Desktop.
.text
.def _ZN3lol20h18ff950b148ec5d3eaaE;
.scl 2;
.type 32;
.endef
.globl _ZN3lol20h18ff950b148ec5d3eaaE
.align 16, 0x90
_ZN3lol20h18ff950b148ec5d3eaaE: # @_ZN3lol20h18ff950b148ec5d3eaaE
.Ltmp11:
.seh_proc _ZN3lol20h18ff950b148ec5d3eaaE
.seh_handler rust_eh_personality, @unwind, @except
.Leh_func_begin0:
# BB#0: # %entry-block
pushq %rsi
.Ltmp12:
.seh_pushreg 6
pushq %rdi
.Ltmp13:
.seh_pushreg 7
subq $232, %rsp
.Ltmp14:
.seh_stackalloc 232
.Ltmp15:
.seh_endprologue
.Ltmp0:
movl $12, %ecx
xorl %edx, %edx
callq je_mallocx
movq %rax, %rsi
.Ltmp1:
# BB#1: # %.noexc
testq %rsi, %rsi
je .LBB0_2
# BB#8: # %match_case5.i680
movabsq $4294967297, %rax # imm = 0x100000001
movq %rax, (%rsi)
movl $1, 8(%rsi)
movl 4(%rsi), %ecx
movq %rcx, %rdx
shlq $32, %rdx
orq $1, %rdx
movq %rdx, 224(%rsp)
movq %rax, 216(%rsp)
cmpl $1, %ecx
jne .LBB0_9
# BB#11: # %match_case5.i656
movl 8(%rsi), %ecx
movq %rcx, %rdx
shlq $32, %rdx
orq $1, %rdx
movq %rdx, 128(%rsp)
movq %rax, 120(%rsp)
cmpl $1, %ecx
jne .LBB0_12
# BB#14: # %loop_body.preheader.i.i600
movl $12, %edx
xorl %r8d, %r8d
movq %rsi, %rcx
addq $232, %rsp
popq %rdi
popq %rsi
jmp je_sdallocx # TAILCALL
.LBB0_2: # %then-block-1854-.i.i743
.Ltmp8:
callq _ZN3oom20h941cb8ac2c16356bz4aE
.Ltmp9:
# BB#3: # %.noexc744
ud2
.LBB0_15: # %loop_body.preheader.i.i771
.Ltmp10:
movq %rax, %rdi
jmp .LBB0_7
.LBB0_9: # %normal-return187
leaq _ZN6option34Option$LT$T$GT$...core..fmt..Debug3fmt21h15548836678142909103E(%rip), %rax
movq %rax, 144(%rsp)
leaq 224(%rsp), %rcx
movq %rcx, 136(%rsp)
movq %rax, 160(%rsp)
leaq 216(%rsp), %rax
movq %rax, 152(%rsp)
movq _ZN3lol15__STATIC_FMTSTR20h515f92b08a811899VkaE+8(%rip), %rax
movq %rax, 176(%rsp)
movq _ZN3lol15__STATIC_FMTSTR20h515f92b08a811899VkaE(%rip), %rax
movq %rax, 168(%rsp)
movq $0, 184(%rsp)
leaq 136(%rsp), %rax
movq %rax, 200(%rsp)
movq $2, 208(%rsp)
.Ltmp2:
leaq _ZN3lol10_FILE_LINE20h6f8447e51949ffe4xlaE(%rip), %rdx
leaq 168(%rsp), %rcx
callq _ZN2rt6unwind16begin_unwind_fmt20h89818fffc3c3133f72FE
.Ltmp3:
# BB#10: # %normal-return188
ud2
.LBB0_12: # %normal-return214
leaq _ZN6option34Option$LT$T$GT$...core..fmt..Debug3fmt21h15548836678142909103E(%rip), %rax
movq %rax, 48(%rsp)
leaq 128(%rsp), %rcx
movq %rcx, 40(%rsp)
movq %rax, 64(%rsp)
leaq 120(%rsp), %rax
movq %rax, 56(%rsp)
movq _ZN3lol15__STATIC_FMTSTR20h515f92b08a811899tmaE+8(%rip), %rax
movq %rax, 80(%rsp)
movq _ZN3lol15__STATIC_FMTSTR20h515f92b08a811899tmaE(%rip), %rax
movq %rax, 72(%rsp)
movq $0, 88(%rsp)
leaq 40(%rsp), %rax
movq %rax, 104(%rsp)
movq $2, 112(%rsp)
.Ltmp5:
leaq _ZN3lol10_FILE_LINE20h6f8447e51949ffe45maE(%rip), %rdx
leaq 72(%rsp), %rcx
callq _ZN2rt6unwind16begin_unwind_fmt20h89818fffc3c3133f72FE
.Ltmp6:
# BB#13: # %normal-return215
ud2
.LBB0_4: # %loop_body.preheader.i.i716.thread
.Ltmp4:
jmp .LBB0_6
.LBB0_5: # %loop_body.preheader.i.i716
.Ltmp7:
.LBB0_6: # %loop_body.preheader.i.i702
movq %rax, %rdi
movl $12, %edx
xorl %r8d, %r8d
movq %rsi, %rcx
callq je_sdallocx
.LBB0_7: # %resume
movq %rdi, %rcx
callq _Unwind_Resume
ud2
.Leh_func_end0:
.seh_handlerdata
.align 4
GCC_except_table0:
.Lexception0:
.byte 255 # @LPStart Encoding = omit
.byte 0 # @TType Encoding = absptr
.asciz "\266\200\200" # @TType base offset
.byte 3 # Call site Encoding = udata4
.byte 52 # Call site table length
.long .Ltmp0-.Leh_func_begin0 # >> Call Site 1 <<
.long .Ltmp9-.Ltmp0 # Call between .Ltmp0 and .Ltmp9
.long .Ltmp10-.Leh_func_begin0 # jumps to .Ltmp10
.byte 0 # On action: cleanup
.long .Ltmp2-.Leh_func_begin0 # >> Call Site 2 <<
.long .Ltmp3-.Ltmp2 # Call between .Ltmp2 and .Ltmp3
.long .Ltmp4-.Leh_func_begin0 # jumps to .Ltmp4
.byte 0 # On action: cleanup
.long .Ltmp5-.Leh_func_begin0 # >> Call Site 3 <<
.long .Ltmp6-.Ltmp5 # Call between .Ltmp5 and .Ltmp6
.long .Ltmp7-.Leh_func_begin0 # jumps to .Ltmp7
.byte 0 # On action: cleanup
.long .Ltmp6-.Leh_func_begin0 # >> Call Site 4 <<
.long .Leh_func_end0-.Ltmp6 # Call between .Ltmp6 and .Leh_func_end0
.long 0 # has no landing pad
.byte 0 # On action: cleanup
.align 4
.text
.Ltmp16:
.seh_endproc
.def _ZN6option34Option$LT$T$GT$...core..fmt..Debug3fmt21h15548836678142909103E;
.scl 3;
.type 32;
.endef
.align 16, 0x90
_ZN6option34Option$LT$T$GT$...core..fmt..Debug3fmt21h15548836678142909103E: # @"_ZN6option34Option$LT$T$GT$...core..fmt..Debug3fmt21h15548836678142909103E"
.Ltmp17:
.seh_proc _ZN6option34Option$LT$T$GT$...core..fmt..Debug3fmt21h15548836678142909103E
# BB#0: # %entry-block
subq $104, %rsp
.Ltmp18:
.seh_stackalloc 104
.Ltmp19:
.seh_endprologue
cmpl $0, (%rcx)
je .LBB1_2
# BB#1: # %match_else
addq $4, %rcx
movq _ZN6option34Option$LT$T$GT$...core..fmt..Debug3fmt15__STATIC_FMTSTR20h962ce3c7765b63baGhzE+8(%rip), %rax
movq %rax, 64(%rsp)
movq _ZN6option34Option$LT$T$GT$...core..fmt..Debug3fmt15__STATIC_FMTSTR20h962ce3c7765b63baGhzE(%rip), %rax
movq %rax, 56(%rsp)
leaq _ZN3fmt3num14i32.fmt..Debug3fmt20hbf0a85bf3288538cwzGE(%rip), %rax
movq %rax, 48(%rsp)
movq %rcx, 40(%rsp)
movq $0, 72(%rsp)
leaq 40(%rsp), %rax
movq %rax, 88(%rsp)
movq $1, 96(%rsp)
jmp .LBB1_3
.LBB1_2: # %match_case
movq _ZN6option34Option$LT$T$GT$...core..fmt..Debug3fmt15__STATIC_FMTSTR20h962ce3c7765b63baehzE+8(%rip), %rax
movq %rax, 64(%rsp)
movq _ZN6option34Option$LT$T$GT$...core..fmt..Debug3fmt15__STATIC_FMTSTR20h962ce3c7765b63baehzE(%rip), %rax
movq %rax, 56(%rsp)
movq $0, 72(%rsp)
leaq 40(%rsp), %rax
movq %rax, 88(%rsp)
movq $0, 96(%rsp)
.LBB1_3: # %join11
leaq 56(%rsp), %rax
movq %rdx, %rcx
movq %rax, %rdx
callq _ZN3fmt23Formatter$LT$$u27$a$GT$9write_fmt20h60745e7e53c340f4YxHE
nop
addq $104, %rsp
retq
.Leh_func_end1:
.Ltmp20:
.seh_endproc
.section .rdata,"dr"
.align 16 # @str1555
str1555:
.ascii "assertion failed: `(left == right) && (right == left)` (left: `"
str1556: # @str1556
.ascii "`, right: `"
str1557: # @str1557
.ascii "`)"
.align 16 # @str1564
str1564:
.ascii "C:\\msys64\\home\\Nathaniel\\vec.rs"
.align 16 # @const6
.Lconst6:
.quad str1555
.quad 63 # 0x3f
.quad str1556
.quad 11 # 0xb
.quad str1557
.quad 2 # 0x2
.align 8 # @_ZN3lol15__STATIC_FMTSTR20h515f92b08a811899VkaE
_ZN3lol15__STATIC_FMTSTR20h515f92b08a811899VkaE:
.quad .Lconst6
.quad 3 # 0x3
.align 16 # @_ZN3lol10_FILE_LINE20h6f8447e51949ffe4xlaE
_ZN3lol10_FILE_LINE20h6f8447e51949ffe4xlaE:
.quad str1564
.quad 31 # 0x1f
.quad 19 # 0x13
.align 16 # @const7
.Lconst7:
.quad str1555
.quad 63 # 0x3f
.quad str1556
.quad 11 # 0xb
.quad str1557
.quad 2 # 0x2
.align 8 # @_ZN3lol15__STATIC_FMTSTR20h515f92b08a811899tmaE
_ZN3lol15__STATIC_FMTSTR20h515f92b08a811899tmaE:
.quad .Lconst7
.quad 3 # 0x3
.align 16 # @_ZN3lol10_FILE_LINE20h6f8447e51949ffe45maE
_ZN3lol10_FILE_LINE20h6f8447e51949ffe45maE:
.quad str1564
.quad 31 # 0x1f
.quad 20 # 0x14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment