blob: c45d5f8b3805e84d8c7315ca1da98b90cef81f2f [file] [log] [blame] [raw]
{
"asm": [
{
"labels": [],
"source": null,
"text": " .file \"example.cpp\""
},
{
"labels": [],
"source": null,
"text": " .text"
},
{
"labels": [],
"source": null,
"text": ".Ltext0:"
},
{
"labels": [
{
"name": "_Z12testFunctionPii",
"range": {
"endCol": 36,
"startCol": 17
}
}
],
"source": null,
"text": " .globl _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": " pushq %rbp"
},
{
"labels": [],
"source": null,
"text": " .cfi_def_cfa_offset 16"
},
{
"labels": [],
"source": null,
"text": " .cfi_offset 6, -16"
},
{
"labels": [],
"source": {
"file": null,
"line": 1
},
"text": " movq %rsp, %rbp"
},
{
"labels": [],
"source": null,
"text": " .cfi_def_cfa_register 6"
},
{
"labels": [],
"source": {
"file": null,
"line": 1
},
"text": " movq %rdi, -24(%rbp)"
},
{
"labels": [],
"source": {
"file": null,
"line": 1
},
"text": " movl %esi, -28(%rbp)"
},
{
"labels": [],
"source": null,
"text": " .loc 1 2 0"
},
{
"labels": [],
"source": {
"file": null,
"line": 2
},
"text": " movl $0, -8(%rbp)"
},
{
"labels": [],
"source": null,
"text": ".LBB2:"
},
{
"labels": [],
"source": null,
"text": " .loc 1 3 0"
},
{
"labels": [],
"source": {
"file": null,
"line": 3
},
"text": " movl $0, -4(%rbp)"
},
{
"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": " movl -4(%rbp), %eax"
},
{
"labels": [],
"source": {
"file": null,
"line": 3
},
"text": " cmpl -28(%rbp), %eax"
},
{
"labels": [
{
"name": ".L2",
"range": {
"endCol": 20,
"startCol": 17
}
}
],
"source": {
"file": null,
"line": 3
},
"text": " jge .L2"
},
{
"labels": [],
"source": null,
"text": " .loc 1 4 0 is_stmt 1 discriminator 2"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " movl -4(%rbp), %eax"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " cltq"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " leaq 0(,%rax,4), %rdx"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " movq -24(%rbp), %rax"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " addq %rdx, %rax"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " movl (%rax), %eax"
},
{
"labels": [],
"source": {
"file": null,
"line": 4
},
"text": " addl %eax, -8(%rbp)"
},
{
"labels": [],
"source": null,
"text": " .loc 1 3 0 discriminator 2"
},
{
"labels": [],
"source": {
"file": null,
"line": 3
},
"text": " addl $1, -4(%rbp)"
},
{
"labels": [
{
"name": ".L3",
"range": {
"endCol": 20,
"startCol": 17
}
}
],
"source": {
"file": null,
"line": 3
},
"text": " jmp .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": " movl -8(%rbp), %eax"
},
{
"labels": [],
"source": null,
"text": " .loc 1 7 0"
},
{
"labels": [],
"source": {
"file": null,
"line": 7
},
"text": " popq %rbp"
},
{
"labels": [],
"source": null,
"text": " .cfi_def_cfa 7, 8"
},
{
"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": " .long 0xa1"
},
{
"labels": [],
"source": null,
"text": " .value 0x4"
},
{
"labels": [
{
"name": ".Ldebug_abbrev0",
"range": {
"endCol": 32,
"startCol": 17
}
}
],
"source": null,
"text": " .long .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": " .long .LASF2"
},
{
"labels": [],
"source": null,
"text": " .byte 0x4"
},
{
"labels": [
{
"name": ".LASF3",
"range": {
"endCol": 23,
"startCol": 17
}
}
],
"source": null,
"text": " .long .LASF3"
},
{
"labels": [
{
"name": ".Ltext0",
"range": {
"endCol": 24,
"startCol": 17
}
}
],
"source": null,
"text": " .quad .Ltext0"
},
{
"labels": [
{
"name": ".Letext0",
"range": {
"endCol": 25,
"startCol": 17
}
},
{
"name": ".Ltext0",
"range": {
"endCol": 33,
"startCol": 26
}
}
],
"source": null,
"text": " .quad .Letext0-.Ltext0"
},
{
"labels": [
{
"name": ".Ldebug_line0",
"range": {
"endCol": 30,
"startCol": 17
}
}
],
"source": null,
"text": " .long .Ldebug_line0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2"
},
{
"labels": [
{
"name": ".LASF4",
"range": {
"endCol": 23,
"startCol": 17
}
}
],
"source": null,
"text": " .long .LASF4"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [
{
"name": ".LASF5",
"range": {
"endCol": 23,
"startCol": 17
}
}
],
"source": null,
"text": " .long .LASF5"
},
{
"labels": [],
"source": null,
"text": " .long 0x97"
},
{
"labels": [
{
"name": ".LFB0",
"range": {
"endCol": 22,
"startCol": 17
}
}
],
"source": null,
"text": " .quad .LFB0"
},
{
"labels": [
{
"name": ".LFE0",
"range": {
"endCol": 22,
"startCol": 17
}
},
{
"name": ".LFB0",
"range": {
"endCol": 28,
"startCol": 23
}
}
],
"source": null,
"text": " .quad .LFE0-.LFB0"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x1"
},
{
"labels": [],
"source": null,
"text": " .byte 0x9c"
},
{
"labels": [],
"source": null,
"text": " .long 0x97"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3"
},
{
"labels": [
{
"name": ".LASF0",
"range": {
"endCol": 23,
"startCol": 17
}
}
],
"source": null,
"text": " .long .LASF0"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .long 0x9e"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2"
},
{
"labels": [],
"source": null,
"text": " .byte 0x91"
},
{
"labels": [],
"source": null,
"text": " .sleb128 -40"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x3"
},
{
"labels": [
{
"name": ".LASF1",
"range": {
"endCol": 23,
"startCol": 17
}
}
],
"source": null,
"text": " .long .LASF1"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .byte 0x1"
},
{
"labels": [],
"source": null,
"text": " .long 0x97"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2"
},
{
"labels": [],
"source": null,
"text": " .byte 0x91"
},
{
"labels": [],
"source": null,
"text": " .sleb128 -44"
},
{
"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": " .long 0x97"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2"
},
{
"labels": [],
"source": null,
"text": " .byte 0x91"
},
{
"labels": [],
"source": null,
"text": " .sleb128 -24"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x5"
},
{
"labels": [
{
"name": ".LBB2",
"range": {
"endCol": 22,
"startCol": 17
}
}
],
"source": null,
"text": " .quad .LBB2"
},
{
"labels": [
{
"name": ".LBE2",
"range": {
"endCol": 22,
"startCol": 17
}
},
{
"name": ".LBB2",
"range": {
"endCol": 28,
"startCol": 23
}
}
],
"source": null,
"text": " .quad .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": " .long 0x97"
},
{
"labels": [],
"source": null,
"text": " .uleb128 0x2"
},
{
"labels": [],
"source": null,
"text": " .byte 0x91"
},
{
"labels": [],
"source": null,
"text": " .sleb128 -20"
},
{
"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": " .long 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": " .long 0x2c"
},
{
"labels": [],
"source": null,
"text": " .value 0x2"
},
{
"labels": [
{
"name": ".Ldebug_info0",
"range": {
"endCol": 30,
"startCol": 17
}
}
],
"source": null,
"text": " .long .Ldebug_info0"
},
{
"labels": [],
"source": null,
"text": " .byte 0x8"
},
{
"labels": [],
"source": null,
"text": " .byte 0"
},
{
"labels": [],
"source": null,
"text": " .value 0"
},
{
"labels": [],
"source": null,
"text": " .value 0"
},
{
"labels": [
{
"name": ".Ltext0",
"range": {
"endCol": 24,
"startCol": 17
}
}
],
"source": null,
"text": " .quad .Ltext0"
},
{
"labels": [
{
"name": ".Letext0",
"range": {
"endCol": 25,
"startCol": 17
}
},
{
"name": ".Ltext0",
"range": {
"endCol": 33,
"startCol": 26
}
}
],
"source": null,
"text": " .quad .Letext0-.Ltext0"
},
{
"labels": [],
"source": null,
"text": " .quad 0"
},
{
"labels": [],
"source": null,
"text": " .quad 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": ".LASF4:"
},
{
"labels": [],
"source": null,
"text": " .string \"testFunction\""
},
{
"labels": [],
"source": null,
"text": ".LASF3:"
},
{
"labels": [],
"source": null,
"text": " .string \"/tmp/example.cpp\""
},
{
"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": ".LASF2:"
},
{
"labels": [],
"source": null,
"text": " .string \"GNU C++14 6.2.0 20161005 -mtune=generic -march=x86-64 -g -fstack-protector-strong\""
},
{
"labels": [],
"source": null,
"text": " .ident \"GCC: (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005\""
},
{
"labels": [],
"source": null,
"text": " .section .note.GNU-stack,\"\",@progbits"
}
],
"labelDefinitions": {
".L2": 39,
".L3": 23,
".LASF0": 245,
".LASF1": 247,
".LASF2": 251,
".LASF3": 243,
".LASF4": 241,
".LASF5": 249,
".LBB2": 20,
".LBE2": 40,
".LFB0": 7,
".LFE0": 48,
".Ldebug_abbrev0": 121,
".Ldebug_info0": 52,
".Ldebug_line0": 239,
".Letext0": 50,
".Ltext0": 3,
"_Z12testFunctionPii": 6
}
}