Commit Graph

3 Commits

Author SHA1 Message Date
c80e8080c3 elfparser: ensure returned string is owned by GLib
Technically, it's very likely that this will fall through to free() anyway,
but there aren't necessarily guarantees of that yet afaik.
2023-08-31 11:58:59 -07:00
35532b0343 elfparser: ignore -Wdeclaration-after-statement 2023-08-31 11:45:31 -07:00
3994635a2a libsysprof: Support demangling rust symbols using the v0 scheme
This doesn't add support for the legacy symbol mangling scheme which is
currently the default pending support in tools for the v0 symbol
mangling scheme. The legacy symbol mangling scheme is similar enough to
C++'s symbol mangling scheme that demangling them using the C++
demangler generally produces readable symbols. The v0 scheme is entirely
custom and due to backreferences and encoding all generic arguments not
very readable when mangled, so supporting it is more important than
supporting the legacy scheme.
2023-08-31 19:41:16 +02:00