Files
compiler-explorer/test/demangle-cases/bug-1468e.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

35 lines
644 B
JSON
Generated

{
"asm": [
{
"labels": [],
"source": null,
"text": "g(): # @g()",
},
{
"labels": [],
"source": null,
"text": " push rax",
},
{
"labels": [],
"source": null,
"text": " call qword ptr [rip + foo::baz+8]",
},
{
"labels": [],
"source": null,
"text": " xor eax, eax",
},
{
"labels": [],
"source": null,
"text": " pop rcx",
},
{
"labels": [],
"source": null,
"text": " ret",
},
],
"labelDefinitions": {},
}