blob: 30687b9dc6cdaf21b6321a3c8a861d8ac4d48d05 [file] [log] [blame] [raw]
{
"asm": [
{
"labels": [],
"source": null,
"text": "main: # @main"
},
{
"labels": [],
"source": {
"file": "/home/mgodbolt/dev/compiler-explorer/<stdin>",
"line": 2,
"mainsource": true
},
"text": " pushq %rbp"
},
{
"labels": [],
"source": {
"file": "/home/mgodbolt/dev/compiler-explorer/<stdin>",
"line": 2,
"mainsource": true
},
"text": " movq %rsp, %rbp"
},
{
"labels": [],
"source": {
"column": 1,
"file": "/home/mgodbolt/dev/compiler-explorer/<stdin>",
"line": 3,
"mainsource": true
},
"text": " movl $.L.str, %edi"
},
{
"labels": [],
"source": {
"column": 1,
"file": "/home/mgodbolt/dev/compiler-explorer/<stdin>",
"line": 3,
"mainsource": true
},
"text": " xorb %al, %al"
},
{
"labels": [],
"source": {
"column": 1,
"file": "/home/mgodbolt/dev/compiler-explorer/<stdin>",
"line": 3,
"mainsource": true
},
"text": " callq printf"
},
{
"labels": [],
"source": {
"column": 3,
"file": "/home/mgodbolt/dev/compiler-explorer/<stdin>",
"line": 4,
"mainsource": true
},
"text": " movl $str, %edi"
},
{
"labels": [],
"source": {
"column": 3,
"file": "/home/mgodbolt/dev/compiler-explorer/<stdin>",
"line": 4,
"mainsource": true
},
"text": " callq puts"
},
{
"labels": [],
"source": {
"column": 3,
"file": "/home/mgodbolt/dev/compiler-explorer/<stdin>",
"line": 4,
"mainsource": true
},
"text": " xorl %eax, %eax"
},
{
"labels": [],
"source": {
"column": 1,
"file": "/home/mgodbolt/dev/compiler-explorer/<stdin>",
"line": 5,
"mainsource": true
},
"text": " popq %rbp"
},
{
"labels": [],
"source": {
"column": 1,
"file": "/home/mgodbolt/dev/compiler-explorer/<stdin>",
"line": 5,
"mainsource": true
},
"text": " ret"
},
{
"labels": [],
"source": null,
"text": ".L.str:"
},
{
"labels": [],
"source": null,
"text": " .asciz \"Hello world\""
},
{
"labels": [],
"source": null,
"text": "str:"
},
{
"labels": [],
"source": null,
"text": " .asciz \"moo\""
}
],
"labelDefinitions": {
".L.str": 12,
"main": 1,
"str": 14
}
}