Commit Graph
1 Commits
Author SHA1 Message Date
Cr 5cb423e814 Decode Swift function type attributes (R3.12) (#1582)
A Swift function type can carry markers after its parameters and result, and the demangler read only Ya (async): Yb (@Sendable), Yc (a global actor such as @Swift.MainActor), YA (@isolated(any)) and YK (typed throws) were reported invalid, the first failure for 19,217 symbols in macOS and Xcode system binaries, mostly closures and functions that take a @Sendable or @MainActor closure. Function types now keep these attributes and print them as swift-demangle does, with typed throws as throws(E).
2026-11-11 02:39:45 +07:00