[Lldb-commits] [lldb] r293779 - Fix android build of the new process launcher

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 1 08:43:23 PST 2017


Author: labath
Date: Wed Feb  1 10:43:22 2017
New Revision: 293779

URL: http://llvm.org/viewvc/llvm-project?rev=293779&view=rev
Log:
Fix android build of the new process launcher

Android does not define the "cross-platform" symbol PT_TRACE_ME. Define
it ourselves, so we can keep the rest of the code generic.

Modified:
    lldb/trunk/source/Host/posix/ProcessLauncherPosixFork.cpp

Modified: lldb/trunk/source/Host/posix/ProcessLauncherPosixFork.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/posix/ProcessLauncherPosixFork.cpp?rev=293779&r1=293778&r2=293779&view=diff
==============================================================================
--- lldb/trunk/source/Host/posix/ProcessLauncherPosixFork.cpp (original)
+++ lldb/trunk/source/Host/posix/ProcessLauncherPosixFork.cpp Wed Feb  1 10:43:22 2017
@@ -23,6 +23,7 @@
 
 #ifdef __ANDROID__
 #include <android/api-level.h>
+#define PT_TRACE_ME PTRACE_TRACEME
 #endif
 
 #if defined(__ANDROID_API__) && __ANDROID_API__ < 21




More information about the lldb-commits mailing list