From 37a4ac39bc15029bffefb3ad8554711b8cc27ada Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 8 Sep 2016 08:40:06 +0000 Subject: [PATCH] Fix a ftbfs on lldb on arm64 (Closes: #836591) Once more, thanks to Ximin Luo for investigating --- debian/changelog | 7 +++++++ debian/patches/lldb-arm64.diff | 12 ++++++++++++ debian/patches/series | 1 + 3 files changed, 20 insertions(+) create mode 100644 debian/patches/lldb-arm64.diff diff --git a/debian/changelog b/debian/changelog index 9001e46a..d4974c1b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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) diff --git a/debian/patches/lldb-arm64.diff b/debian/patches/lldb-arm64.diff new file mode 100644 index 00000000..f0b75448 --- /dev/null +++ b/debian/patches/lldb-arm64.diff @@ -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 + // NT_PRSTATUS and NT_FPREGSET definition + #include ++// user_hwdebug_state definition ++#include + + #define REG_CONTEXT_SIZE (GetGPRSize() + GetFPRSize()) + diff --git a/debian/patches/series b/debian/patches/series index 1d90a2a3..fe628b0a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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