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 6381de4 commit f2649f2Copy full SHA for f2649f2
tools/swift-inspect/Sources/SwiftInspectLinux/PTrace.swift
@@ -32,7 +32,7 @@ public struct PTrace: ~Copyable {
32
// it to stop, and leaves it in a stopped state. The caller may resume the
33
// process by calling cont().
34
// NOTE: clients must use withPTracedProcess instead of direct initialization.
35
- init(_ pid: pid_t) throws {
+ fileprivate init(_ pid: pid_t) throws {
36
guard ptrace_attach(pid) != -1 else {
37
throw PTraceError.operationFailure(PTRACE_ATTACH, pid: pid)
38
}
0 commit comments