blob: b4c37f450721b8b830e7d1dadcf195af08db12fb [file] [log] [blame] [raw]
.arch armv8-a
.file "example.cpp"
.text
.Ltext0:
.align 2
.global _Z12testFunctionPii
.type _Z12testFunctionPii, %function
_Z12testFunctionPii:
.LFB0:
.file 1 "/tmp/example.cpp"
.loc 1 1 0
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
.loc 1 2 0
str wzr, [sp, 24]
.LBB2:
.loc 1 3 0
str wzr, [sp, 28]
.L3:
.loc 1 3 0 is_stmt 0 discriminator 3
ldr w1, [sp, 28]
ldr w0, [sp, 4]
cmp w1, w0
bge .L2
.loc 1 4 0 is_stmt 1 discriminator 2
ldrsw x0, [sp, 28]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 24]
add w0, w1, w0
str w0, [sp, 24]
.loc 1 3 0 discriminator 2
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
b .L3
.L2:
.LBE2:
.loc 1 6 0
ldr w0, [sp, 24]
.loc 1 7 0
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size _Z12testFunctionPii, .-_Z12testFunctionPii
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.4byte 0xa1
.2byte 0x4
.4byte .Ldebug_abbrev0
.byte 0x8
.uleb128 0x1
.4byte .LASF2
.byte 0x4
.4byte .LASF3
.8byte .Ltext0
.8byte .Letext0-.Ltext0
.4byte .Ldebug_line0
.uleb128 0x2
.4byte .LASF4
.byte 0x1
.byte 0x1
.4byte .LASF5
.4byte 0x97
.8byte .LFB0
.8byte .LFE0-.LFB0
.uleb128 0x1
.byte 0x9c
.4byte 0x97
.uleb128 0x3
.4byte .LASF0
.byte 0x1
.byte 0x1
.4byte 0x9e
.uleb128 0x2
.byte 0x91
.sleb128 -24
.uleb128 0x3
.4byte .LASF1
.byte 0x1
.byte 0x1
.4byte 0x97
.uleb128 0x2
.byte 0x91
.sleb128 -28
.uleb128 0x4
.string "sum"
.byte 0x1
.byte 0x2
.4byte 0x97
.uleb128 0x2
.byte 0x91
.sleb128 -8
.uleb128 0x5
.8byte .LBB2
.8byte .LBE2-.LBB2
.uleb128 0x4
.string "i"
.byte 0x1
.byte 0x3
.4byte 0x97
.uleb128 0x2
.byte 0x91
.sleb128 -4
.byte 0
.byte 0
.uleb128 0x6
.byte 0x4
.byte 0x5
.string "int"
.uleb128 0x7
.byte 0x8
.4byte 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
.4byte 0x2c
.2byte 0x2
.4byte .Ldebug_info0
.byte 0x8
.byte 0
.2byte 0
.2byte 0
.8byte .Ltext0
.8byte .Letext0-.Ltext0
.8byte 0
.8byte 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF2:
.string "GNU C++ 5.4.0 20160609 -mlittle-endian -mabi=lp64 -g -fstack-protector-strong"
.LASF3:
.string "/tmp/example.cpp"
.LASF4:
.string "testFunction"
.LASF0:
.string "input"
.LASF1:
.string "length"
.LASF5:
.string "_Z12testFunctionPii"
.ident "GCC: (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609"
.section .note.GNU-stack,"",@progbits