blob: 0ae9bc3ae3e7b68a6fb1130df30910d1d27f4bfb [file] [log] [blame] [raw]
{
"asm": [
{
"labels": [],
"source": null,
"text": " .arch armv8-a"
},
{
"labels": [],
"source": null,
"text": " .file \"example.cpp\""
},
{
"labels": [],
"source": null,
"text": " .text"
},
{
"labels": [],
"source": null,
"text": ".Ltext0:"
},
{
"labels": [],
"source": null,
"text": " .align 2"
},
{
"labels": [
{
"name": "_Z12testFunctionPii",
"range": {
"endCol": 36,
"startCol": 17
}
}
],
"source": null,
"text": " .global _Z12testFunctionPii"
},
{
"labels": [
{
"name": "_Z12testFunctionPii",
"range": {
"endCol": 36,
"startCol": 17
}
}
],
"source": null,
"text": " .type _Z12testFunctionPii, %function"
},
{
"labels": [],
"source": null,
"text": "_Z12testFunctionPii:"
},
{
"labels": [],
"source": null,
"text": ".LFB0:"
},
{
"labels": [],
"source": null,
"text": " .file 1 \"/tmp/example.cpp\""
},
{
"labels": [],
"source": null,
"text": " .loc 1 1 0"
},
{
"labels": [],
"source": null,
"text": " .cfi_startproc"
},
{
"labels": [],
"source": {
"file": null,
"line": 1
},
"text": " sub sp, sp, #32"
},
{
"labels": [],
"source": null,
"text": " .cfi_def_cfa_offset 32"
},
{
"labels": [],
"source": {
"file": null,
"line": 1
},
"text": " str x0, [sp, 8]"
},
{
"labels": [],
"source": {
"file": null,
"line": 1
},
"text": " str w1, [sp, 4]"
},
{
"labels": [],
"source": null,
"text": " .loc 1 2 0"
},
{
"labels": [],
"source": {
"file": null,
"line": 2
},
"text": " str wzr, [sp, 24]"
},
{
"labels": [],
"source": null,
"text": ".LBB2:"
},
{
"labels": [],
"source": null,
"text": " .loc 1 3 0"
},
{
"labels": [],
"source": {
"file": null,
"line": 3
},
"text": " str wzr, [sp, 28]"
},
{
"labels": [],
"source": null,
"text": ".L3:"
},
{
"labels": [],
"source": null,
"text": " .loc 1 3 0 is_stmt 0 discriminator 3"
},
{
"labels": [],
"source": {
"file": null,
"line": 3
},
"text": " ldr w1, [sp, 28]"
},
{
"labels": [],
"source": {
"file": null,
"line": 3
},
"text": " ldr w0, [sp, 4]"
},
{
"labels": [],
"source": {
"file": null,
"line": 3
},
"text": " cmp w1, w0"
},
{
"labels": [
{
"name": ".L2",
"range": {
"endCol": 20,
"startCol": 17
}
}
],
"source": {
"file": null,
"line": 3
},
"text": " bge .L2"
},
{
"labels": [],
"source": null,
"text": " .loc 1 4 0 is_stmt 1 discriminator 2"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " ldrsw x0, [sp, 28]"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " lsl x0, x0, 2"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " ldr x1, [sp, 8]"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " add x0, x1, x0"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " ldr w0, [x0]"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " ldr w1, [sp, 24]"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " add w0, w1, w0"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " str w0, [sp, 24]"
},
{
"labels": [],
"source": null,
"text": " .loc 1 3 0 discriminator 2"
},
{
"labels": [],
"source": {
"file": null,
"line": 3
},
"text": " ldr w0, [sp, 28]"
},
{
"labels": [],
"source": {
"file": null,
"line": 3
},
"text": " add w0, w0, 1"
},
{
"labels": [],
"source": {
"file": null,
"line": 3
},
"text": " str w0, [sp, 28]"
},
{
"labels": [
{
"name": ".L3",
"range": {
"endCol": 20,
"startCol": 17
}
}
],
"source": {
"file": null,
"line": 3
},
"text": " b .L3"
},
{
"labels": [],
"source": null,
"text": ".L2:"
},
{
"labels": [],
"source": null,
"text": ".LBE2:"
},
{
"labels": [],
"source": null,
"text": " .loc 1 6 0"
},
{
"labels": [],
"source": {
"file": null,
"line": 6
},
"text": " ldr w0, [sp, 24]"
},
{
"labels": [],
"source": null,
"text": " .loc 1 7 0"
},
{
"labels": [],
"source": {
"file": null,
"line": 7
},
"text": " add sp, sp, 32"
},
{
"labels": [],
"source": null,
"text": " .cfi_def_cfa_offset 0"
},
{
"labels": [],
"source": {
"file": null,
"line": 7
},
"text": " ret"
},
{
"labels": [],
"source": null,
"text": " .cfi_endproc"
},
{
"labels": [],
"source": null,
"text": ".LFE0:"
},
{
"labels": [
{
"name": "_Z12testFunctionPii",
"range": {
"endCol": 36,
"startCol": 17
}
},
{
"name": "_Z12testFunctionPii",
"range": {
"endCol": 59,
"startCol": 40
}
}
],
"source": null,
"text": " .size _Z12testFunctionPii, .-_Z12testFunctionPii"
},
{
"labels": [],
"source": null,
"text": ".Letext0:"
},
{
"labels": [],
"source": null,
"text": " .section .debug_info,\"\",@progbits"
},
{
"labels": [],
"source": null,
"text": ".Ldebug_info0:"
},
{
"labels": [],
"source": null,
"text": " .4byte 0xa1"
},
{
"labels": [],
"source": null,
"text": " .2byte 0x4"
},
{
"labels": [
{
"name": ".Ldebug_abbrev0",
"range": {
"endCol": 32,
"startCol": 17
}
}
],
"source": null,
"text": " .4byte .Ldebug_abbrev0"
},
{
"labels": [],
"source": null,
"text": " .byte 0x8"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x1"
},
{
"labels": [
{
"name": ".LASF2",
"range": {
"endCol": 23,
"startCol": 17
}
}
],
"source": null,
"text": " .4byte .LASF2"
},
{
"labels": [],
"source": null,
"text": " .byte 0x4"
},
{
"labels": [
{
"name": ".LASF3",
"range": {
"endCol": 23,
"startCol": 17
}
}
],
"source": null,
"text": " .4byte .LASF3"
},
{
"labels": [
{
"name": ".Ltext0",
"range": {
"endCol": 24,
"startCol": 17
}
}
],
"source": null,
"text": " .8byte .Ltext0"
},
{
"labels": [
{
"name": ".Letext0",
"range": {
"endCol": 25,
"startCol": 17
}
},
{
"name": ".Ltext0",
"range": {
"endCol": 33,
"startCol": 26
}
}
],
"source": null,
"text": " .8byte .Letext0-.Ltext0"
},
{
"labels": [
{
"name": ".Ldebug_line0",
"range": {
"endCol": 30,
"startCol": 17
}
}
],
"source": null,
"text": " .4byte .Ldebug_line0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2"
},
{
"labels": [
{
"name": ".LASF4",
"range": {
"endCol": 23,
"startCol": 17
}
}
],
"source": null,
"text": " .4byte .LASF4"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [
{
"name": ".LASF5",
"range": {
"endCol": 23,
"startCol": 17
}
}
],
"source": null,
"text": " .4byte .LASF5"
},
{
"labels": [],
"source": null,
"text": " .4byte 0x97"
},
{
"labels": [
{
"name": ".LFB0",
"range": {
"endCol": 22,
"startCol": 17
}
}
],
"source": null,
"text": " .8byte .LFB0"
},
{
"labels": [
{
"name": ".LFE0",
"range": {
"endCol": 22,
"startCol": 17
}
},
{
"name": ".LFB0",
"range": {
"endCol": 28,
"startCol": 23
}
}
],
"source": null,
"text": " .8byte .LFE0-.LFB0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x1"
},
{
"labels": [],
"source": null,
"text": " .byte 0x9c"
},
{
"labels": [],
"source": null,
"text": " .4byte 0x97"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3"
},
{
"labels": [
{
"name": ".LASF0",
"range": {
"endCol": 23,
"startCol": 17
}
}
],
"source": null,
"text": " .4byte .LASF0"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .4byte 0x9e"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2"
},
{
"labels": [],
"source": null,
"text": " .byte 0x91"
},
{
"labels": [],
"source": null,
"text": " .sleb128 -24"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3"
},
{
"labels": [
{
"name": ".LASF1",
"range": {
"endCol": 23,
"startCol": 17
}
}
],
"source": null,
"text": " .4byte .LASF1"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .4byte 0x97"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2"
},
{
"labels": [],
"source": null,
"text": " .byte 0x91"
},
{
"labels": [],
"source": null,
"text": " .sleb128 -28"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x4"
},
{
"labels": [],
"source": null,
"text": " .string \"sum\""
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .byte 0x2"
},
{
"labels": [],
"source": null,
"text": " .4byte 0x97"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2"
},
{
"labels": [],
"source": null,
"text": " .byte 0x91"
},
{
"labels": [],
"source": null,
"text": " .sleb128 -8"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x5"
},
{
"labels": [
{
"name": ".LBB2",
"range": {
"endCol": 22,
"startCol": 17
}
}
],
"source": null,
"text": " .8byte .LBB2"
},
{
"labels": [
{
"name": ".LBE2",
"range": {
"endCol": 22,
"startCol": 17
}
},
{
"name": ".LBB2",
"range": {
"endCol": 28,
"startCol": 23
}
}
],
"source": null,
"text": " .8byte .LBE2-.LBB2"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x4"
},
{
"labels": [],
"source": null,
"text": " .string \"i\""
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .byte 0x3"
},
{
"labels": [],
"source": null,
"text": " .4byte 0x97"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2"
},
{
"labels": [],
"source": null,
"text": " .byte 0x91"
},
{
"labels": [],
"source": null,
"text": " .sleb128 -4"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x6"
},
{
"labels": [],
"source": null,
"text": " .byte 0x4"
},
{
"labels": [],
"source": null,
"text": " .byte 0x5"
},
{
"labels": [],
"source": null,
"text": " .string \"int\""
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x7"
},
{
"labels": [],
"source": null,
"text": " .byte 0x8"
},
{
"labels": [],
"source": null,
"text": " .4byte 0x97"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .section .debug_abbrev,\"\",@progbits"
},
{
"labels": [],
"source": null,
"text": ".Ldebug_abbrev0:"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x1"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x11"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x25"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xe"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x13"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xb"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xe"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x11"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x1"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x12"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x7"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x10"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x17"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2e"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3f"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x19"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xe"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3a"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xb"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3b"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xb"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x6e"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xe"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x49"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x13"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x11"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x1"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x12"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x7"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x40"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x18"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2117"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x19"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x1"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x13"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x5"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xe"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3a"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xb"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3b"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xb"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x49"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x13"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x18"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x4"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x34"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x8"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3a"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xb"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3b"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xb"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x49"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x13"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x18"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x5"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xb"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x11"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x1"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x12"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x7"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x6"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x24"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xb"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xb"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3e"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xb"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x8"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x7"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xf"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xb"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0xb"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x49"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x13"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .section .debug_aranges,\"\",@progbits"
},
{
"labels": [],
"source": null,
"text": " .4byte 0x2c"
},
{
"labels": [],
"source": null,
"text": " .2byte 0x2"
},
{
"labels": [
{
"name": ".Ldebug_info0",
"range": {
"endCol": 30,
"startCol": 17
}
}
],
"source": null,
"text": " .4byte .Ldebug_info0"
},
{
"labels": [],
"source": null,
"text": " .byte 0x8"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .2byte 0"
},
{
"labels": [],
"source": null,
"text": " .2byte 0"
},
{
"labels": [
{
"name": ".Ltext0",
"range": {
"endCol": 24,
"startCol": 17
}
}
],
"source": null,
"text": " .8byte .Ltext0"
},
{
"labels": [
{
"name": ".Letext0",
"range": {
"endCol": 25,
"startCol": 17
}
},
{
"name": ".Ltext0",
"range": {
"endCol": 33,
"startCol": 26
}
}
],
"source": null,
"text": " .8byte .Letext0-.Ltext0"
},
{
"labels": [],
"source": null,
"text": " .8byte 0"
},
{
"labels": [],
"source": null,
"text": " .8byte 0"
},
{
"labels": [],
"source": null,
"text": " .section .debug_line,\"\",@progbits"
},
{
"labels": [],
"source": null,
"text": ".Ldebug_line0:"
},
{
"labels": [],
"source": null,
"text": " .section .debug_str,\"MS\",@progbits,1"
},
{
"labels": [],
"source": null,
"text": ".LASF2:"
},
{
"labels": [],
"source": null,
"text": " .string \"GNU C++ 5.4.0 20160609 -mlittle-endian -mabi=lp64 -g -fstack-protector-strong\""
},
{
"labels": [],
"source": null,
"text": ".LASF3:"
},
{
"labels": [],
"source": null,
"text": " .string \"/tmp/example.cpp\""
},
{
"labels": [],
"source": null,
"text": ".LASF4:"
},
{
"labels": [],
"source": null,
"text": " .string \"testFunction\""
},
{
"labels": [],
"source": null,
"text": ".LASF0:"
},
{
"labels": [],
"source": null,
"text": " .string \"input\""
},
{
"labels": [],
"source": null,
"text": ".LASF1:"
},
{
"labels": [],
"source": null,
"text": " .string \"length\""
},
{
"labels": [],
"source": null,
"text": ".LASF5:"
},
{
"labels": [
{
"name": "_Z12testFunctionPii",
"range": {
"endCol": 37,
"startCol": 18
}
}
],
"source": null,
"text": " .string \"_Z12testFunctionPii\""
},
{
"labels": [],
"source": null,
"text": " .ident \"GCC: (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609\""
},
{
"labels": [],
"source": null,
"text": " .section .note.GNU-stack,\"\",@progbits"
}
],
"labelDefinitions": {
".L2": 42,
".L3": 22,
".LASF0": 250,
".LASF1": 252,
".LASF2": 244,
".LASF3": 246,
".LASF4": 248,
".LASF5": 254,
".LBB2": 19,
".LBE2": 43,
".LFB0": 9,
".LFE0": 51,
".Ldebug_abbrev0": 124,
".Ldebug_info0": 55,
".Ldebug_line0": 242,
".Letext0": 53,
".Ltext0": 4,
"_Z12testFunctionPii": 8
}
}