blob: 0a3c57f341ca998908f6a265cc1e176661a75ec4 [file] [log] [blame] [raw]
{
"asm": [
{
"labels": [],
"source": null,
"text": "_Z12testFunctionPii:"
},
{
"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": {
"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": {
"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"
}
],
"labelDefinitions": {
".L2": 21,
".L3": 8,
"_Z12testFunctionPii": 1
}
}