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 26d8552 + bf4fbdc commit 0db38fcCopy full SHA for 0db38fc
tools/swift-inspect/Sources/swift-inspect/DarwinRemoteProcess.swift
@@ -74,7 +74,7 @@ internal final class DarwinRemoteProcess: RemoteProcess {
74
func getAddr(symbolName: String) -> swift_addr_t {
75
// FIXME: use `__USER_LABEL_PREFIX__` instead of the hardcoded `_`.
76
let fullName = "_\(symbolName)"
77
- let symbol = CSSymbolOwnerGetSymbolWithMangledName(swiftCore, fullName)
+ var symbol = CSSymbolOwnerGetSymbolWithMangledName(swiftCore, fullName)
78
if CSIsNull(symbol) {
79
symbol = CSSymbolOwnerGetSymbolWithMangledName(swiftConcurrency, fullName)
80
}
0 commit comments