Re: [swift-dev] Question about demangling

2017-07-26 Thread Erik Eckstein via swift-dev
> On Jul 25, 2017, at 4:44 PM, Ethan Arbuckle via swift-dev > wrote: > > The Swift runtime exports a function to demangle Swift symbols, > swift_demangle. See source: > https://github.com/apple/swift/blob/32d15d8539c43ff26b599f7c4a08a79a10d4bf98/stdlib/public/runtime/Reflection.mm#L1200 > >

[swift-dev] Question about demangling

2017-07-25 Thread Ethan Arbuckle via swift-dev
The Swift runtime exports a function to demangle Swift symbols, swift_demangle. See source: https://github.com/apple/swift/blob/32d15d8539c43ff26b599f7c4a08a79a10d4bf98/stdlib/public/runtime/Reflection.mm#L1200. This function uses the default mangling options, as defined by `Demangle::DemangleOp