| .file "example.cpp" |
| .text |
| .Ltext0: |
| .globl _Z12testFunctionPii |
| .type _Z12testFunctionPii, @function |
| _Z12testFunctionPii: |
| .LFB0: |
| .file 1 "/tmp/example.cpp" |
| .loc 1 1 0 |
| .cfi_startproc |
| pushq %rbp |
| .cfi_def_cfa_offset 16 |
| .cfi_offset 6, -16 |
| movq %rsp, %rbp |
| .cfi_def_cfa_register 6 |
| movq %rdi, -24(%rbp) |
| movl %esi, -28(%rbp) |
| .loc 1 2 0 |
| movl $0, -8(%rbp) |
| .LBB2: |
| .loc 1 3 0 |
| movl $0, -4(%rbp) |
| .L3: |
| .loc 1 3 0 is_stmt 0 discriminator 3 |
| movl -4(%rbp), %eax |
| cmpl -28(%rbp), %eax |
| jge .L2 |
| .loc 1 4 0 is_stmt 1 discriminator 2 |
| movl -4(%rbp), %eax |
| cltq |
| leaq 0(,%rax,4), %rdx |
| movq -24(%rbp), %rax |
| addq %rdx, %rax |
| movl (%rax), %eax |
| addl %eax, -8(%rbp) |
| .loc 1 3 0 discriminator 2 |
| addl $1, -4(%rbp) |
| jmp .L3 |
| .L2: |
| .LBE2: |
| .loc 1 6 0 |
| movl -8(%rbp), %eax |
| .loc 1 7 0 |
| popq %rbp |
| .cfi_def_cfa 7, 8 |
| ret |
| .cfi_endproc |
| .LFE0: |
| .size _Z12testFunctionPii, .-_Z12testFunctionPii |
| .Letext0: |
| .section .debug_info,"",@progbits |
| .Ldebug_info0: |
| .long 0xa1 |
| .value 0x4 |
| .long .Ldebug_abbrev0 |
| .byte 0x8 |
| .uleb128 0x1 |
| .long .LASF2 |
| .byte 0x4 |
| .long .LASF3 |
| .quad .Ltext0 |
| .quad .Letext0-.Ltext0 |
| .long .Ldebug_line0 |
| .uleb128 0x2 |
| .long .LASF4 |
| .byte 0x1 |
| .byte 0x1 |
| .long .LASF5 |
| .long 0x97 |
| .quad .LFB0 |
| .quad .LFE0-.LFB0 |
| .uleb128 0x1 |
| .byte 0x9c |
| .long 0x97 |
| .uleb128 0x3 |
| .long .LASF0 |
| .byte 0x1 |
| .byte 0x1 |
| .long 0x9e |
| .uleb128 0x2 |
| .byte 0x91 |
| .sleb128 -40 |
| .uleb128 0x3 |
| .long .LASF1 |
| .byte 0x1 |
| .byte 0x1 |
| .long 0x97 |
| .uleb128 0x2 |
| .byte 0x91 |
| .sleb128 -44 |
| .uleb128 0x4 |
| .string "sum" |
| .byte 0x1 |
| .byte 0x2 |
| .long 0x97 |
| .uleb128 0x2 |
| .byte 0x91 |
| .sleb128 -24 |
| .uleb128 0x5 |
| .quad .LBB2 |
| .quad .LBE2-.LBB2 |
| .uleb128 0x4 |
| .string "i" |
| .byte 0x1 |
| .byte 0x3 |
| .long 0x97 |
| .uleb128 0x2 |
| .byte 0x91 |
| .sleb128 -20 |
| .byte 0 |
| .byte 0 |
| .uleb128 0x6 |
| .byte 0x4 |
| .byte 0x5 |
| .string "int" |
| .uleb128 0x7 |
| .byte 0x8 |
| .long 0x97 |
| .byte 0 |
| .section .debug_abbrev,"",@progbits |
| .Ldebug_abbrev0: |
| .uleb128 0x1 |
| .uleb128 0x11 |
| .byte 0x1 |
| .uleb128 0x25 |
| .uleb128 0xe |
| .uleb128 0x13 |
| .uleb128 0xb |
| .uleb128 0x3 |
| .uleb128 0xe |
| .uleb128 0x11 |
| .uleb128 0x1 |
| .uleb128 0x12 |
| .uleb128 0x7 |
| .uleb128 0x10 |
| .uleb128 0x17 |
| .byte 0 |
| .byte 0 |
| .uleb128 0x2 |
| .uleb128 0x2e |
| .byte 0x1 |
| .uleb128 0x3f |
| .uleb128 0x19 |
| .uleb128 0x3 |
| .uleb128 0xe |
| .uleb128 0x3a |
| .uleb128 0xb |
| .uleb128 0x3b |
| .uleb128 0xb |
| .uleb128 0x6e |
| .uleb128 0xe |
| .uleb128 0x49 |
| .uleb128 0x13 |
| .uleb128 0x11 |
| .uleb128 0x1 |
| .uleb128 0x12 |
| .uleb128 0x7 |
| .uleb128 0x40 |
| .uleb128 0x18 |
| .uleb128 0x2117 |
| .uleb128 0x19 |
| .uleb128 0x1 |
| .uleb128 0x13 |
| .byte 0 |
| .byte 0 |
| .uleb128 0x3 |
| .uleb128 0x5 |
| .byte 0 |
| .uleb128 0x3 |
| .uleb128 0xe |
| .uleb128 0x3a |
| .uleb128 0xb |
| .uleb128 0x3b |
| .uleb128 0xb |
| .uleb128 0x49 |
| .uleb128 0x13 |
| .uleb128 0x2 |
| .uleb128 0x18 |
| .byte 0 |
| .byte 0 |
| .uleb128 0x4 |
| .uleb128 0x34 |
| .byte 0 |
| .uleb128 0x3 |
| .uleb128 0x8 |
| .uleb128 0x3a |
| .uleb128 0xb |
| .uleb128 0x3b |
| .uleb128 0xb |
| .uleb128 0x49 |
| .uleb128 0x13 |
| .uleb128 0x2 |
| .uleb128 0x18 |
| .byte 0 |
| .byte 0 |
| .uleb128 0x5 |
| .uleb128 0xb |
| .byte 0x1 |
| .uleb128 0x11 |
| .uleb128 0x1 |
| .uleb128 0x12 |
| .uleb128 0x7 |
| .byte 0 |
| .byte 0 |
| .uleb128 0x6 |
| .uleb128 0x24 |
| .byte 0 |
| .uleb128 0xb |
| .uleb128 0xb |
| .uleb128 0x3e |
| .uleb128 0xb |
| .uleb128 0x3 |
| .uleb128 0x8 |
| .byte 0 |
| .byte 0 |
| .uleb128 0x7 |
| .uleb128 0xf |
| .byte 0 |
| .uleb128 0xb |
| .uleb128 0xb |
| .uleb128 0x49 |
| .uleb128 0x13 |
| .byte 0 |
| .byte 0 |
| .byte 0 |
| .section .debug_aranges,"",@progbits |
| .long 0x2c |
| .value 0x2 |
| .long .Ldebug_info0 |
| .byte 0x8 |
| .byte 0 |
| .value 0 |
| .value 0 |
| .quad .Ltext0 |
| .quad .Letext0-.Ltext0 |
| .quad 0 |
| .quad 0 |
| .section .debug_line,"",@progbits |
| .Ldebug_line0: |
| .section .debug_str,"MS",@progbits,1 |
| .LASF4: |
| .string "testFunction" |
| .LASF3: |
| .string "/tmp/example.cpp" |
| .LASF0: |
| .string "input" |
| .LASF1: |
| .string "length" |
| .LASF5: |
| .string "_Z12testFunctionPii" |
| .LASF2: |
| .string "GNU C++14 6.2.0 20161005 -mtune=generic -march=x86-64 -g -fstack-protector-strong" |
| .ident "GCC: (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005" |
| .section .note.GNU-stack,"",@progbits |