Files
compiler-explorer/test/demangle-cases/bug-1468d.asm.json
narpfel 98c91227fa Fix go-to label with position-independent code (#7522)
Resolves #7521.

With this PR, `@...` suffixes are included in the clickable area for
go-to label.

This also affects PowerPC, where `@...` suffixes are a bit more common
(`@ha` and `@l` will also be marked as clickable).

---------

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2025-04-17 12:25:28 -05:00

37 lines
615 B
JSON
Generated

{
"asm": [
{
"labels": [],
"source": null,
"text": "g():",
},
{
"labels": [],
"source": null,
"text": " pushq %rax",
},
{
"labels": [],
"source": null,
"text": " callq *foo::baz+8(%rip)",
},
{
"labels": [],
"source": null,
"text": " xorl %eax, %eax",
},
{
"labels": [],
"source": null,
"text": " popq %rcx",
},
{
"labels": [],
"source": null,
"text": " retq",
},
],
"labelDefinitions": {
"g()": 1,
},
}