Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .file "test.cpp"
- .section .ctors,"aw",@progbits
- .align 8
- .quad _GLOBAL__I_main
- .text
- .align 2
- .globl _Z3fooi
- .type _Z3fooi, @function
- _Z3fooi:
- .LFB1406:
- pushq %rbp
- .LCFI0:
- movq %rsp, %rbp
- .LCFI1:
- movl %edi, -20(%rbp)
- movl $0, -4(%rbp)
- jmp .L2
- .L3:
- addl $1, -20(%rbp)
- addl $1, -4(%rbp)
- .L2:
- cmpl $999999999, -4(%rbp)
- jle .L3
- leave
- ret
- .LFE1406:
- .size _Z3fooi, .-_Z3fooi
- .globl __gxx_personality_v0
- .align 2
- .globl _Z3bari
- .type _Z3bari, @function
- _Z3bari:
- .LFB1405:
- pushq %rbp
- .LCFI2:
- movq %rsp, %rbp
- .LCFI3:
- subq $24, %rsp
- .LCFI4:
- movl %edi, -20(%rbp)
- movl $0, -8(%rbp)
- cmpl $0, -20(%rbp)
- jne .L7
- movl $0, -4(%rbp)
- jmp .L9
- .L10:
- addl $1, -8(%rbp)
- addl $1, -4(%rbp)
- .L9:
- cmpl $999999999, -4(%rbp)
- jle .L10
- jmp .L14
- .L7:
- cmpl $1, -20(%rbp)
- jne .L14
- movl -8(%rbp), %edi
- call _Z3fooi
- .L14:
- leave
- ret
- .LFE1405:
- .size _Z3bari, .-_Z3bari
- .align 2
- .globl main
- .type main, @function
- main:
- .LFB1404:
- pushq %rbp
- .LCFI5:
- movq %rsp, %rbp
- .LCFI6:
- subq $8, %rsp
- .LCFI7:
- movl %edi, -4(%rbp)
- movl $1, %edi
- call _Z3bari
- movl $0, %edi
- call _Z3bari
- movl $0, %eax
- leave
- ret
- .LFE1404:
- .size main, .-main
- .align 2
- .type _Z41__static_initialization_and_destruction_0ii, @function
- _Z41__static_initialization_and_destruction_0ii:
- .LFB1413:
- pushq %rbp
- .LCFI8:
- movq %rsp, %rbp
- .LCFI9:
- subq $16, %rsp
- .LCFI10:
- movl %edi, -4(%rbp)
- movl %esi, -8(%rbp)
- cmpl $1, -4(%rbp)
- jne .L21
- cmpl $65535, -8(%rbp)
- jne .L21
- movl $_ZSt8__ioinit, %edi
- call _ZNSt8ios_base4InitC1Ev
- movl $__dso_handle, %edx
- movl $0, %esi
- movl $__tcf_0, %edi
- call __cxa_atexit
- .L21:
- leave
- ret
- .LFE1413:
- .size _Z41__static_initialization_and_destruction_0ii, .-_Z41__static_initialization_and_destruction_0ii
- .align 2
- .type _GLOBAL__I_main, @function
- _GLOBAL__I_main:
- .LFB1415:
- pushq %rbp
- .LCFI11:
- movq %rsp, %rbp
- .LCFI12:
- movl $65535, %esi
- movl $1, %edi
- call _Z41__static_initialization_and_destruction_0ii
- leave
- ret
- .LFE1415:
- .size _GLOBAL__I_main, .-_GLOBAL__I_main
- .align 2
- .type __tcf_0, @function
- __tcf_0:
- .LFB1414:
- pushq %rbp
- .LCFI13:
- movq %rsp, %rbp
- .LCFI14:
- subq $16, %rsp
- .LCFI15:
- movq %rdi, -8(%rbp)
- movl $_ZSt8__ioinit, %edi
- call _ZNSt8ios_base4InitD1Ev
- leave
- ret
- .LFE1414:
- .size __tcf_0, .-__tcf_0
- .local _ZSt8__ioinit
- .comm _ZSt8__ioinit,1,1
- .weakref _Z20__gthrw_pthread_oncePiPFvvE,pthread_once
- .weakref _Z27__gthrw_pthread_getspecificj,pthread_getspecific
- .weakref _Z27__gthrw_pthread_setspecificjPKv,pthread_setspecific
- .weakref _Z22__gthrw_pthread_createPmPK14pthread_attr_tPFPvS3_ES3_,pthread_create
- .weakref _Z22__gthrw_pthread_cancelm,pthread_cancel
- .weakref _Z26__gthrw_pthread_mutex_lockP15pthread_mutex_t,pthread_mutex_lock
- .weakref _Z29__gthrw_pthread_mutex_trylockP15pthread_mutex_t,pthread_mutex_trylock
- .weakref _Z28__gthrw_pthread_mutex_unlockP15pthread_mutex_t,pthread_mutex_unlock
- .weakref _Z26__gthrw_pthread_mutex_initP15pthread_mutex_tPK19pthread_mutexattr_t,pthread_mutex_init
- .weakref _Z30__gthrw_pthread_cond_broadcastP14pthread_cond_t,pthread_cond_broadcast
- .weakref _Z25__gthrw_pthread_cond_waitP14pthread_cond_tP15pthread_mutex_t,pthread_cond_wait
- .weakref _Z26__gthrw_pthread_key_createPjPFvPvE,pthread_key_create
- .weakref _Z26__gthrw_pthread_key_deletej,pthread_key_delete
- .weakref _Z30__gthrw_pthread_mutexattr_initP19pthread_mutexattr_t,pthread_mutexattr_init
- .weakref _Z33__gthrw_pthread_mutexattr_settypeP19pthread_mutexattr_ti,pthread_mutexattr_settype
- .weakref _Z33__gthrw_pthread_mutexattr_destroyP19pthread_mutexattr_t,pthread_mutexattr_destroy
- .section .eh_frame,"a",@progbits
- .Lframe1:
- .long .LECIE1-.LSCIE1
- .LSCIE1:
- .long 0x0
- .byte 0x1
- .string "zPR"
- .uleb128 0x1
- .sleb128 -8
- .byte 0x10
- .uleb128 0x6
- .byte 0x3
- .long __gxx_personality_v0
- .byte 0x3
- .byte 0xc
- .uleb128 0x7
- .uleb128 0x8
- .byte 0x90
- .uleb128 0x1
- .align 8
- .LECIE1:
- .LSFDE1:
- .long .LEFDE1-.LASFDE1
- .LASFDE1:
- .long .LASFDE1-.Lframe1
- .long .LFB1406
- .long .LFE1406-.LFB1406
- .uleb128 0x0
- .byte 0x4
- .long .LCFI0-.LFB1406
- .byte 0xe
- .uleb128 0x10
- .byte 0x86
- .uleb128 0x2
- .byte 0x4
- .long .LCFI1-.LCFI0
- .byte 0xd
- .uleb128 0x6
- .align 8
- .LEFDE1:
- .LSFDE3:
- .long .LEFDE3-.LASFDE3
- .LASFDE3:
- .long .LASFDE3-.Lframe1
- .long .LFB1405
- .long .LFE1405-.LFB1405
- .uleb128 0x0
- .byte 0x4
- .long .LCFI2-.LFB1405
- .byte 0xe
- .uleb128 0x10
- .byte 0x86
- .uleb128 0x2
- .byte 0x4
- .long .LCFI3-.LCFI2
- .byte 0xd
- .uleb128 0x6
- .align 8
- .LEFDE3:
- .LSFDE5:
- .long .LEFDE5-.LASFDE5
- .LASFDE5:
- .long .LASFDE5-.Lframe1
- .long .LFB1404
- .long .LFE1404-.LFB1404
- .uleb128 0x0
- .byte 0x4
- .long .LCFI5-.LFB1404
- .byte 0xe
- .uleb128 0x10
- .byte 0x86
- .uleb128 0x2
- .byte 0x4
- .long .LCFI6-.LCFI5
- .byte 0xd
- .uleb128 0x6
- .align 8
- .LEFDE5:
- .LSFDE7:
- .long .LEFDE7-.LASFDE7
- .LASFDE7:
- .long .LASFDE7-.Lframe1
- .long .LFB1413
- .long .LFE1413-.LFB1413
- .uleb128 0x0
- .byte 0x4
- .long .LCFI8-.LFB1413
- .byte 0xe
- .uleb128 0x10
- .byte 0x86
- .uleb128 0x2
- .byte 0x4
- .long .LCFI9-.LCFI8
- .byte 0xd
- .uleb128 0x6
- .align 8
- .LEFDE7:
- .LSFDE9:
- .long .LEFDE9-.LASFDE9
- .LASFDE9:
- .long .LASFDE9-.Lframe1
- .long .LFB1415
- .long .LFE1415-.LFB1415
- .uleb128 0x0
- .byte 0x4
- .long .LCFI11-.LFB1415
- .byte 0xe
- .uleb128 0x10
- .byte 0x86
- .uleb128 0x2
- .byte 0x4
- .long .LCFI12-.LCFI11
- .byte 0xd
- .uleb128 0x6
- .align 8
- .LEFDE9:
- .LSFDE11:
- .long .LEFDE11-.LASFDE11
- .LASFDE11:
- .long .LASFDE11-.Lframe1
- .long .LFB1414
- .long .LFE1414-.LFB1414
- .uleb128 0x0
- .byte 0x4
- .long .LCFI13-.LFB1414
- .byte 0xe
- .uleb128 0x10
- .byte 0x86
- .uleb128 0x2
- .byte 0x4
- .long .LCFI14-.LCFI13
- .byte 0xd
- .uleb128 0x6
- .align 8
- .LEFDE11:
- .ident "GCC: (GNU) 4.1.2 20080704 (Red Hat 4.1.2-51)"
- .section .note.GNU-stack,"",@progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement