# \#mangling

**URL:** https://forums.swift.org/tag/mangling/621.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Swiftfilt - c++filt for Swift, with structured output and crash-grouping keys](https://forums.swift.org/t/swiftfilt-c-filt-for-swift-with-structured-output-and-crash-grouping-keys/88521)

<div class="topic-metadata">

**Author:** [@mi11ion](https://forums.swift.org/u/mi11ion)\
**Replies:** 2\
**Last updated:** [July 27, 2026, 1:20pm UTC](https://forums.swift.org/t/swiftfilt-c-filt-for-swift-with-structured-output-and-crash-grouping-keys/88521 "2026-07-27T13:20:22Z")

</div>

Hello. A crash log through swiftfilt --simplified: 0 MyApp 0x…104abc123 $s10AppIntents0aB8XPCErrorO9errorCodeSivg + 12 2 MyApp 0x…104abe789 $s4main3fooyyFSi\_Tg5 + 4 3 MyApp 0x…104abf012 \_$s3foo3barC3bas3z…

---

## [\`RemoteCallTarget\` from stable names](https://forums.swift.org/t/remotecalltarget-from-stable-names/79693)

<div class="topic-metadata">

**Author:** [@stevapple](https://forums.swift.org/u/stevapple)\
**Replies:** 1\
**Last updated:** [May 7, 2025, 6:04am UTC](https://forums.swift.org/t/remotecalltarget-from-stable-names/79693 "2025-05-07T06:04:11Z")

</div>

Hello Swift Forums, Dating back to 2022 when distributed actors are officially introduced in Swift, we made the decision of using an opaque String value as the identifier of a remote call. In practice the string holds t…

---

## [Any libraries for working with Swift ABI manglings?](https://forums.swift.org/t/any-libraries-for-working-with-swift-abi-manglings/72228)

<div class="topic-metadata">

**Author:** [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Replies:** 5\
**Last updated:** [June 5, 2024, 1:36am UTC](https://forums.swift.org/t/any-libraries-for-working-with-swift-abi-manglings/72228 "2024-06-05T01:36:16Z")

</div>

i’m starting to work with the Swift ABI manglings again, and one thing that would really help me is if there were a way to parse these strings and get structured information out of them. i’m also interested in using the …

---

## [Create generic opaque return type dynamically](https://forums.swift.org/t/create-generic-opaque-return-type-dynamically/67282)

<div class="topic-metadata">

**Author:** [@Nickolas\_Pohilets](https://forums.swift.org/u/Nickolas_Pohilets)\
**Replies:** 0\
**Last updated:** [September 14, 2023, 6:29pm UTC](https://forums.swift.org/t/create-generic-opaque-return-type-dynamically/67282 "2023-09-14T18:29:20Z")

</div>

For unit-testing purposes, I'm investigating one very hacky idea which involves creating Swift types dynamically in the runtime. I was able to make it work (more testing needed) as a function returning existential type: …

---

## [How to determine what module a symbol is declared in from its mangled name?](https://forums.swift.org/t/how-to-determine-what-module-a-symbol-is-declared-in-from-its-mangled-name/63892)

<div class="topic-metadata">

**Author:** [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Replies:** 3\
**Last updated:** [March 22, 2023, 9:29pm UTC](https://forums.swift.org/t/how-to-determine-what-module-a-symbol-is-declared-in-from-its-mangled-name/63892 "2023-03-22T21:29:41Z")

</div>

this is similar to Formula to extract mangled protocol name from mangled protocol extension member? how do you determine the module a symbol is declared in based on its mangled name? for example: ss12IdentifiableP10Ex…

---

## [Formula to extract mangled protocol name from mangled protocol extension member?](https://forums.swift.org/t/formula-to-extract-mangled-protocol-name-from-mangled-protocol-extension-member/63811)

<div class="topic-metadata">

**Author:** [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Replies:** 4\
**Last updated:** [March 21, 2023, 4:45pm UTC](https://forums.swift.org/t/formula-to-extract-mangled-protocol-name-from-mangled-protocol-extension-member/63811 "2023-03-21T16:45:13Z")

</div>

SymbolGraphGen does not tell us what protocol a protocol extension member belongs to unless the protocol itself is defined in the current module. (-emit-extension-block-symbols only affects symbols added via retroactive …

---

## [Mangling: looking up declarations by their mangled name](https://forums.swift.org/t/mangling-looking-up-declarations-by-their-mangled-name/54193)

<div class="topic-metadata">

**Author:** [@broadway\_lamb](https://forums.swift.org/u/broadway_lamb)\
**Replies:** 5\
**Last updated:** [February 17, 2022, 5:23pm UTC](https://forums.swift.org/t/mangling-looking-up-declarations-by-their-mangled-name/54193 "2022-02-17T17:23:14Z")

</div>

tl;dr: is there any existing facility for looking up function declarations by their name, label list and type, and if not, what would be the best way to implement it and what to look out for? I'm working on extending…
