Fix a ftbfs on lldb on arm64 (Closes: #836591)

Once more, thanks to Ximin Luo for investigating
This commit is contained in:
Sylvestre Ledru 2016-09-08 08:40:06 +00:00
parent d83a531f8c
commit 37a4ac39bc
3 changed files with 20 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
llvm-toolchain-3.8 (1:3.8.1-12) unstable; urgency=medium
* Fix a ftbfs on lldb on arm64 (Closes: #836591)
Once more, thanks to Ximin Luo for investigating
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 08 Sep 2016 10:39:51 +0200
llvm-toolchain-3.8 (1:3.8.1-11) unstable; urgency=medium
* Fix the arm64 lldb build issue. Thanks to Ximin Luo (Closes: #836591)

12
debian/patches/lldb-arm64.diff vendored Normal file
View File

@ -0,0 +1,12 @@
Index: llvm-toolchain-3.8-3.8.1/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
--- llvm-toolchain-3.8-3.8.1.orig/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp 2016/01/11 10:39:09 257322
+++ llvm-toolchain-3.8-3.8.1/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp 2016/04/12 05:40:51 266042
@@ -32,6 +32,8 @@
#include <sys/socket.h>
// NT_PRSTATUS and NT_FPREGSET definition
#include <elf.h>
+// user_hwdebug_state definition
+#include <asm/ptrace.h>
#define REG_CONTEXT_SIZE (GetGPRSize() + GetFPRSize())

View File

@ -47,3 +47,4 @@ D18035-PR23529-Mangler-part-of-attrbute-abi_tag-support.diff
kfreebsd-support.diff
asan-glibc-2.24.diff
lldb-dont-assume-64bit-systems-are-all-x86-64.patch
lldb-arm64.diff