mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Decode opaque types in the runtime demangler.
This commit is contained in:
@@ -513,6 +513,7 @@ private:
|
||||
case Node::Kind::DynamicallyReplaceableFunctionImpl:
|
||||
case Node::Kind::DynamicallyReplaceableFunctionVar:
|
||||
case Node::Kind::OpaqueType:
|
||||
case Node::Kind::OpaqueTypeDescriptorSymbolicReference:
|
||||
case Node::Kind::OpaqueReturnType:
|
||||
case Node::Kind::OpaqueReturnTypeOf:
|
||||
return false;
|
||||
@@ -1587,6 +1588,10 @@ NodePointer NodePrinter::print(NodePointer Node, bool asPrefixContext) {
|
||||
Printer << "type symbolic reference 0x";
|
||||
Printer.writeHex(Node->getIndex());
|
||||
return nullptr;
|
||||
case Node::Kind::OpaqueTypeDescriptorSymbolicReference:
|
||||
Printer << "opaque type symbolic reference 0x";
|
||||
Printer.writeHex(Node->getIndex());
|
||||
return nullptr;
|
||||
case Node::Kind::DynamicallyReplaceableFunctionKey:
|
||||
if (!Options.ShortenThunk) {
|
||||
Printer << "dynamically replaceable key for ";
|
||||
|
||||
Reference in New Issue
Block a user