| { |
| "asm": [ |
| { |
| "labels": [], |
| "source": null, |
| "text": ".LC0:" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": " .string \"hello world!\"" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": "s_sA:" |
| }, |
| { |
| "labels": [ |
| { |
| "name": ".LC0", |
| "range": { |
| "endCol": 21, |
| "startCol": 17 |
| } |
| } |
| ], |
| "source": null, |
| "text": " .quad .LC0" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": "s_sB:" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": " .string \"hey there\"" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": "main:" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "example.cpp", |
| "line": 6, |
| "mainsource": true |
| }, |
| "text": " push rbp" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "example.cpp", |
| "line": 6, |
| "mainsource": true |
| }, |
| "text": " mov rbp, rsp" |
| }, |
| { |
| "labels": [ |
| { |
| "name": "s_sA", |
| "range": { |
| "endCol": 36, |
| "startCol": 32 |
| } |
| } |
| ], |
| "source": { |
| "file": "example.cpp", |
| "line": 7, |
| "mainsource": true |
| }, |
| "text": " mov rax, QWORD PTR s_sA[rip]" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "example.cpp", |
| "line": 7, |
| "mainsource": true |
| }, |
| "text": " mov rdi, rax" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "example.cpp", |
| "line": 7, |
| "mainsource": true |
| }, |
| "text": " call puts" |
| }, |
| { |
| "labels": [ |
| { |
| "name": "s_sB", |
| "range": { |
| "endCol": 38, |
| "startCol": 34 |
| } |
| } |
| ], |
| "source": { |
| "file": "example.cpp", |
| "line": 8, |
| "mainsource": true |
| }, |
| "text": " mov edi, OFFSET FLAT:s_sB" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "example.cpp", |
| "line": 8, |
| "mainsource": true |
| }, |
| "text": " call puts" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "example.cpp", |
| "line": 9, |
| "mainsource": true |
| }, |
| "text": " mov eax, 0" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "example.cpp", |
| "line": 9, |
| "mainsource": true |
| }, |
| "text": " pop rbp" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "example.cpp", |
| "line": 9, |
| "mainsource": true |
| }, |
| "text": " ret" |
| } |
| ], |
| "labelDefinitions": { |
| ".LC0": 1, |
| "main": 7, |
| "s_sA": 3, |
| "s_sB": 5 |
| } |
| } |