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.
1 parent d8ebecf commit bf4fbdcCopy full SHA for bf4fbdc
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