Skip to content

Commit 9e54b97

Browse files
authored
Spelling tools swift inspect (#58559)
1 parent 0f78f00 commit 9e54b97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/swift-inspect/Sources/swift-inspect/Backtrace.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ internal func backtrace(_ stack: [swift_reflection_ptr_t], style: BacktraceStyle
2121
_ symbolicate: (swift_addr_t) -> (module: String?, symbol: String?)) -> String {
2222
func entry(_ address: swift_reflection_ptr_t) -> String {
2323
let (module, symbol) = symbolicate(swift_addr_t(address))
24-
return "\(hex: address) (\(module ?? "<uknown>")) \(symbol ?? "<unknown>")"
24+
return "\(hex: address) (\(module ?? "<unknown>")) \(symbol ?? "<unknown>")"
2525
}
2626

2727
// The pointers to the locations in the backtrace are stored from deepest to

tools/swift-inspect/Sources/swift-inspect/Operations/DumpRawMetadata.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ internal struct DumpRawMetadata: ParsableCommand {
3737
if let stack = stacks?[allocation.ptr] {
3838
print(backtrace(stack, style: style, process.symbolicate))
3939
} else {
40-
print(" No stcktrace available")
40+
print(" No stack trace available")
4141
}
4242
}
4343
}

0 commit comments

Comments
 (0)