llvm: lldb: fix ptrace handling on musl.
This commit is contained in:
parent
9339f55ed3
commit
829faea432
2 changed files with 12 additions and 1 deletions
|
@ -18,3 +18,14 @@
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#include <libgen.h>
|
#include <libgen.h>
|
||||||
#endif
|
#endif
|
||||||
|
--- source/Plugins/Process/Linux/NativeProcessLinux.cpp.orig 2015-05-07 11:33:00.109509237 +0200
|
||||||
|
+++ source/Plugins/Process/Linux/NativeProcessLinux.cpp 2015-05-07 11:36:17.726275750 +0200
|
||||||
|
@@ -68,7 +68,7 @@
|
||||||
|
#include "ProcFileReader.h"
|
||||||
|
#include "Plugins/Process/POSIX/ProcessPOSIXLog.h"
|
||||||
|
|
||||||
|
-#ifdef __ANDROID__
|
||||||
|
+#if defined(__ANDROID__) || !defined(__GLIBC__)
|
||||||
|
#define __ptrace_request int
|
||||||
|
#define PT_DETACH PTRACE_DETACH
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Template file for 'llvm'
|
# Template file for 'llvm'
|
||||||
pkgname=llvm
|
pkgname=llvm
|
||||||
version=3.6.0
|
version=3.6.0
|
||||||
wrksrc="llvm-${version}.src"
|
wrksrc="llvm-${version}.src"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue