diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-12 05:40:51 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-12 05:40:51 +0000 |
commit | dd4799c28ed99980991241d0c517fe7076c06d5b (patch) | |
tree | db466ac2706b7de3a962ee6772d228f23ad04f00 /lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp | |
parent | e48a5fc56d7dbd6e24e7fd326c3e50630b648da7 (diff) | |
download | bcm5719-llvm-dd4799c28ed99980991241d0c517fe7076c06d5b.tar.gz bcm5719-llvm-dd4799c28ed99980991241d0c517fe7076c06d5b.zip |
Process: fix the build with certain kernel versions
The structure definitions are not provided, but we perform a sizeof operation of
them which causes a build failure. Include `asm/ptrace.h` to get the structure
definitions.
llvm-svn: 266042
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp index 22cdbb40d15..a09018e595b 100644 --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp @@ -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()) |