[llvm-branch-commits] [lldb] bddd410 - [PATCH] Portable asm/ptrace.h include

Nikita Popov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue May 3 01:16:05 PDT 2022


Author: serge-sans-paille
Date: 2022-05-03T10:10:13+02:00
New Revision: bddd41020a71e79a69e470c527214c688dab6314

URL: https://github.com/llvm/llvm-project/commit/bddd41020a71e79a69e470c527214c688dab6314
DIFF: https://github.com/llvm/llvm-project/commit/bddd41020a71e79a69e470c527214c688dab6314.diff

LOG: [PATCH] Portable asm/ptrace.h include

Added: 
    

Modified: 
    lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
index 14f669a3ce98f..6e3a0d1e94d44 100644
--- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
+++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
@@ -16,7 +16,8 @@
 #include "Plugins/Process/Utility/NativeRegisterContextDBReg_arm64.h"
 #include "Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h"
 
-#include <asm/ptrace.h>
+#include <sys/ptrace.h>
+#include <linux/ptrace.h>
 
 namespace lldb_private {
 namespace process_linux {


        


More information about the llvm-branch-commits mailing list