================
@@ -0,0 +1,44 @@
+//===-- Ptrace.h ------------------------------------------------*- C++ 
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM 
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// This file defines ptrace functions & structures
+
+#ifndef liblldb_Host_aix_Ptrace_h_
+#define liblldb_Host_aix_Ptrace_h_
+
+#include <sys/ptrace.h>
+
+#define DEBUG_PTRACE_MAXBYTES 20
----------------
DhruvSrivastavaX wrote:

To be specific, it is being used in the `NativeProcessLinux.cpp`. For our 
context, it is used similarly for `NativeProcessAIX.cpp`, utilised by 
`DisplayBytes(..)<--PtraceDisplayBytes(..)`.
We can move it to the same file if you suggest so and in the same way as David 
suggested.

https://github.com/llvm/llvm-project/pull/108000
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to