Skip to content

Commit

Permalink
Merge commit 'cf0bc8d0321a' from llvm.org/main into next
Browse files Browse the repository at this point in the history
  • Loading branch information
git apple-llvm automerger committed Dec 20, 2024
2 parents d6aa372 + cf0bc8d commit def9aa3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,11 @@ struct ForkLaunchInfo {
}

// Start tracing this child that is about to exec.
#ifdef _AIX
if (ptrace64(PT_TRACE_ME, 0, 0, 0, nullptr) == -1)
#else
if (ptrace(PT_TRACE_ME, 0, nullptr, 0) == -1)
#endif
ExitWithError(error_fd, "ptrace");
}

Expand Down

0 comments on commit def9aa3

Please sign in to comment.