<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>body{font-family:Helvetica,Arial;font-size:13px}</style>
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
The Swift runtime exports a function to demangle Swift symbols, swift_demangle. See source:&nbsp;<a href="https://github.com/apple/swift/blob/32d15d8539c43ff26b599f7c4a08a79a10d4bf98/stdlib/public/runtime/Reflection.mm#L1200">https://github.com/apple/swift/blob/32d15d8539c43ff26b599f7c4a08a79a10d4bf98/stdlib/public/runtime/Reflection.mm#L1200</a>.</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
This function uses the default mangling options, as defined by `<span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 92, 197); font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; font-variant-ligatures: normal; orphans: 2; white-space: pre; widows: 2;">Demangle::DemangleOptions</span><span style="color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; font-variant-ligatures: normal; orphans: 2; white-space: pre; widows: 2;">()</span><span style="color: rgb(0, 92, 197); font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; orphans: 2; white-space: pre; widows: 2;">`.
</span>I also see there is an argument called `flags`, which I believe eventually will allow demangling options to be changed. However, this is not yet implemented.&nbsp;</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
The format for the demangled symbols with I would like it, ideally, “Module.Class.Method”. The default options include a variety of other things, including argument count and types. What is my best approach for getting these desired demangling options?&nbsp;</div>
<br>
<div id="bloop_sign_1501025474121078016" class="bloop_sign"></div>
</body>
</html>