blob: 5e2a8d2a97a2d6404a3fed4f475e2626101afacb [file] [log] [blame] [raw]
{
"asm": [
{
"labels": [],
"source": null,
"text": "_Z12testFunctionPii:"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 1,
"mainsource": true
},
"text": " pushq %rbp"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 1,
"mainsource": true
},
"text": " movq %rsp, %rbp"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 1,
"mainsource": true
},
"text": " movq %rdi, -24(%rbp)"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 1,
"mainsource": true
},
"text": " movl %esi, -28(%rbp)"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 2,
"mainsource": true
},
"text": " movl $0, -8(%rbp)"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 3,
"mainsource": true
},
"text": " movl $0, -4(%rbp)"
},
{
"labels": [],
"source": null,
"text": ".L3:"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 3,
"mainsource": true
},
"text": " movl -4(%rbp), %eax"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 3,
"mainsource": true
},
"text": " cmpl -28(%rbp), %eax"
},
{
"labels": [
{
"name": ".L2",
"range": {
"endCol": 20,
"startCol": 17
}
}
],
"source": {
"file": "/tmp/example.cpp",
"line": 3,
"mainsource": true
},
"text": " jge .L2"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 4,
"mainsource": true
},
"text": " movl -4(%rbp), %eax"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 4,
"mainsource": true
},
"text": " cltq"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 4,
"mainsource": true
},
"text": " leaq 0(,%rax,4), %rdx"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 4,
"mainsource": true
},
"text": " movq -24(%rbp), %rax"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 4,
"mainsource": true
},
"text": " addq %rdx, %rax"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 4,
"mainsource": true
},
"text": " movl (%rax), %eax"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 4,
"mainsource": true
},
"text": " addl %eax, -8(%rbp)"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 3,
"mainsource": true
},
"text": " addl $1, -4(%rbp)"
},
{
"labels": [
{
"name": ".L3",
"range": {
"endCol": 20,
"startCol": 17
}
}
],
"source": {
"file": "/tmp/example.cpp",
"line": 3,
"mainsource": true
},
"text": " jmp .L3"
},
{
"labels": [],
"source": null,
"text": ".L2:"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 6,
"mainsource": true
},
"text": " movl -8(%rbp), %eax"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 7,
"mainsource": true
},
"text": " popq %rbp"
},
{
"labels": [],
"source": {
"file": "/tmp/example.cpp",
"line": 7,
"mainsource": true
},
"text": " ret"
}
],
"labelDefinitions": {
".L2": 21,
".L3": 8,
"_Z12testFunctionPii": 1
}
}