Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .file "testes.cpp"
- .text
- .globl main
- .align 16, 0x90
- .type main,@function
- main: # @main
- .cfi_startproc
- # BB#0:
- pushq %rax
- .Ltmp1:
- .cfi_def_cfa_offset 16
- movl $45, %edi
- callq _Z7do_testl
- movl $_ZSt4cout, %edi
- movq %rax, %rsi
- callq _ZNSo9_M_insertIlEERSoT_
- movl $.L.str, %esi
- movl $1, %edx
- movq %rax, %rdi
- callq _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
- xorl %eax, %eax
- popq %rdx
- ret
- .Ltmp2:
- .size main, .Ltmp2-main
- .cfi_endproc
- .section .text._Z7do_testl,"axG",@progbits,_Z7do_testl,comdat
- .weak _Z7do_testl
- .align 16, 0x90
- .type _Z7do_testl,@function
- _Z7do_testl: # @_Z7do_testl
- .cfi_startproc
- # BB#0:
- pushq %r14
- .Ltmp6:
- .cfi_def_cfa_offset 16
- pushq %rbx
- .Ltmp7:
- .cfi_def_cfa_offset 24
- pushq %rax
- .Ltmp8:
- .cfi_def_cfa_offset 32
- .Ltmp9:
- .cfi_offset %rbx, -24
- .Ltmp10:
- .cfi_offset %r14, -16
- movq %rdi, %rbx
- cmpq $2, %rbx
- jge .LBB1_1
- # BB#2:
- movq %rbx, %rax
- jmp .LBB1_3
- .LBB1_1:
- leaq -1(%rbx), %rdi
- callq _Z7do_testl
- movq %rax, %r14
- addq $-2, %rbx
- movq %rbx, %rdi
- callq _Z7do_testl
- addq %r14, %rax
- .LBB1_3:
- addq $8, %rsp
- popq %rbx
- popq %r14
- ret
- .Ltmp11:
- .size _Z7do_testl, .Ltmp11-_Z7do_testl
- .cfi_endproc
- .section .text.startup,"ax",@progbits
- .align 16, 0x90
- .type _GLOBAL__I_a,@function
- _GLOBAL__I_a: # @_GLOBAL__I_a
- .cfi_startproc
- # BB#0:
- pushq %rax
- .Ltmp13:
- .cfi_def_cfa_offset 16
- movl $_ZStL8__ioinit, %edi
- callq _ZNSt8ios_base4InitC1Ev
- movl $_ZNSt8ios_base4InitD1Ev, %edi
- movl $_ZStL8__ioinit, %esi
- movl $__dso_handle, %edx
- popq %rax
- jmp __cxa_atexit # TAILCALL
- .Ltmp14:
- .size _GLOBAL__I_a, .Ltmp14-_GLOBAL__I_a
- .cfi_endproc
- .type _ZStL8__ioinit,@object # @_ZStL8__ioinit
- .local _ZStL8__ioinit
- .comm _ZStL8__ioinit,1,1
- .type .L.str,@object # @.str
- .section .rodata.str1.1,"aMS",@progbits,1
- .L.str:
- .asciz "\n"
- .size .L.str, 2
- .section .init_array,"aw",@init_array
- .align 8
- .quad _GLOBAL__I_a
- .ident "Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4)"
- .section ".note.GNU-stack","",@progbits
Add Comment
Please, Sign In to add comment