mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Instead of a global demangleSymbolAsNode, which returns a reference-counted NodePointer, there is now a Context class which owns the nodes. So now demangleSymbolAsNode is a member of Context and the returned NodePointer is alive as long as the Context is alive. This is still a NFC: the new ABI still maps to the old functions. The purpose of this change is to let lldb adapt to the new API and then we can switch to the new implementation.
125 KiB
125 KiB