llvm-toolchain/debian/patches/lldb-arm64.diff
Sylvestre Ledru 37a4ac39bc Fix a ftbfs on lldb on arm64 (Closes: #836591)
Once more, thanks to Ximin Luo for investigating
2016-09-08 08:40:06 +00:00

13 lines
585 B
Diff

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())