[Lldb-commits] [lldb] lldb: Linux: restore __ptrace_request typedef for bionic+musl (PR #219237)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 27 09:56:35 PDT 2026


================
@@ -82,6 +82,10 @@
 #define PTRACE_SETREGSET 0x4205
 #endif
 
+#ifndef __GLIBC__
+typedef int __ptrace_request;
+#endif
----------------
DavidSpickett wrote:

If it works, I think that's better than !glibc specific code.

https://github.com/llvm/llvm-project/pull/219237


More information about the lldb-commits mailing list