blob: 40d33f12de7d956ef39781ea66032fc2729f7344 [file] [log] [blame] [raw]
{
"asm": [
{
"labels": [],
"source": null,
"text": ".Ltext0:"
},
{
"labels": [],
"source": null,
"text": "_Z12testFunctionPii:"
},
{
"labels": [],
"source": null,
"text": ".LFB0:"
},
{
"labels": [],
"source": {
"file": null,
"line": 1
},
"text": " pushq %rbp"
},
{
"labels": [],
"source": {
"file": null,
"line": 1
},
"text": " movq %rsp, %rbp"
},
{
"labels": [],
"source": {
"file": null,
"line": 1
},
"text": " movq %rdi, -24(%rbp)"
},
{
"labels": [],
"source": {
"file": null,
"line": 1
},
"text": " movl %esi, -28(%rbp)"
},
{
"labels": [],
"source": {
"file": null,
"line": 2
},
"text": " movl $0, -8(%rbp)"
},
{
"labels": [],
"source": null,
"text": ".LBB2:"
},
{
"labels": [],
"source": {
"file": null,
"line": 3
},
"text": " movl $0, -4(%rbp)"
},
{
"labels": [],
"source": null,
"text": ".L3:"
},
{
"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": {
"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": {
"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": {
"file": null,
"line": 6
},
"text": " movl -8(%rbp), %eax"
},
{
"labels": [],
"source": {
"file": null,
"line": 7
},
"text": " popq %rbp"
},
{
"labels": [],
"source": {
"file": null,
"line": 7
},
"text": " ret"
},
{
"labels": [],
"source": null,
"text": ".LFE0:"
},
{
"labels": [],
"source": null,
"text": ".Letext0:"
},
{
"labels": [],
"source": null,
"text": ".Ldebug_info0:"
},
{
"labels": [],
"source": null,
"text": ".Ldebug_abbrev0:"
},
{
"labels": [],
"source": null,
"text": ".Ldebug_line0:"
},
{
"labels": [],
"source": null,
"text": ".LASF4:"
},
{
"labels": [],
"source": null,
"text": ".LASF3:"
},
{
"labels": [],
"source": null,
"text": ".LASF0:"
},
{
"labels": [],
"source": null,
"text": ".LASF1:"
},
{
"labels": [],
"source": null,
"text": ".LASF5:"
},
{
"labels": [],
"source": null,
"text": ".LASF2:"
}
],
"labelDefinitions": {
".L2": 24,
".L3": 11,
"_Z12testFunctionPii": 2
}
}