| { |
| "asm": [ |
| { |
| "labels": [], |
| "source": null, |
| "text": "_Z12testFunctionPii:" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 1, |
| "mainsource": true |
| }, |
| "text": " sub sp, sp, #32" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 1, |
| "mainsource": true |
| }, |
| "text": " str x0, [sp, 8]" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 1, |
| "mainsource": true |
| }, |
| "text": " str w1, [sp, 4]" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 2, |
| "mainsource": true |
| }, |
| "text": " str wzr, [sp, 24]" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 3, |
| "mainsource": true |
| }, |
| "text": " str wzr, [sp, 28]" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": ".L3:" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 3, |
| "mainsource": true |
| }, |
| "text": " ldr w1, [sp, 28]" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 3, |
| "mainsource": true |
| }, |
| "text": " ldr w0, [sp, 4]" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 3, |
| "mainsource": true |
| }, |
| "text": " cmp w1, w0" |
| }, |
| { |
| "labels": [ |
| { |
| "name": ".L2", |
| "range": { |
| "endCol": 20, |
| "startCol": 17 |
| } |
| } |
| ], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 3, |
| "mainsource": true |
| }, |
| "text": " bge .L2" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 4, |
| "mainsource": true |
| }, |
| "text": " ldrsw x0, [sp, 28]" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 4, |
| "mainsource": true |
| }, |
| "text": " lsl x0, x0, 2" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 4, |
| "mainsource": true |
| }, |
| "text": " ldr x1, [sp, 8]" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 4, |
| "mainsource": true |
| }, |
| "text": " add x0, x1, x0" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 4, |
| "mainsource": true |
| }, |
| "text": " ldr w0, [x0]" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 4, |
| "mainsource": true |
| }, |
| "text": " ldr w1, [sp, 24]" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 4, |
| "mainsource": true |
| }, |
| "text": " add w0, w1, w0" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 4, |
| "mainsource": true |
| }, |
| "text": " str w0, [sp, 24]" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 3, |
| "mainsource": true |
| }, |
| "text": " ldr w0, [sp, 28]" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 3, |
| "mainsource": true |
| }, |
| "text": " add w0, w0, 1" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 3, |
| "mainsource": true |
| }, |
| "text": " str w0, [sp, 28]" |
| }, |
| { |
| "labels": [ |
| { |
| "name": ".L3", |
| "range": { |
| "endCol": 20, |
| "startCol": 17 |
| } |
| } |
| ], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 3, |
| "mainsource": true |
| }, |
| "text": " b .L3" |
| }, |
| { |
| "labels": [], |
| "source": null, |
| "text": ".L2:" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 6, |
| "mainsource": true |
| }, |
| "text": " ldr w0, [sp, 24]" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 7, |
| "mainsource": true |
| }, |
| "text": " add sp, sp, 32" |
| }, |
| { |
| "labels": [], |
| "source": { |
| "file": "/tmp/example.cpp", |
| "line": 7, |
| "mainsource": true |
| }, |
| "text": " ret" |
| } |
| ], |
| "labelDefinitions": { |
| ".L2": 24, |
| ".L3": 7, |
| "_Z12testFunctionPii": 1 |
| } |
| } |