We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58f661c + e3c67c9 commit f89131dCopy full SHA for f89131d
include/swift/Remote/MetadataReader.h
@@ -2674,6 +2674,18 @@ class MetadataReader {
2674
return nullptr;
2675
}
2676
2677
+ // Check if the Reader can provide a symbol for this descriptor, and if it
2678
+ // can, use that instead.
2679
+ if (auto remoteAbsolutePointer =
2680
+ Reader->resolvePointerAsSymbol(descriptor.getRemoteAddress())) {
2681
+ auto symbol = remoteAbsolutePointer->getSymbol();
2682
+ if (!symbol.empty()) {
2683
+ if (auto demangledSymbol = buildContextManglingForSymbol(symbol, dem)) {
2684
+ return demangledSymbol;
2685
+ }
2686
2687
2688
+
2689
// Read the parent descriptor.
2690
auto parentDescriptorResult = readParentContextDescriptor(descriptor);
2691
0 commit comments