Skip to content

Commit c612fe7

Browse files
committed
Add arm64 architecture guard. Should fix ci build.
1 parent 0cb9347 commit c612fe7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64dbreg.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
#if defined(__arm64__) || defined(__aarch64__)
10+
911
#include "NativeRegisterContextLinux_arm64dbreg.h"
1012
#include "lldb/Host/linux/Ptrace.h"
1113

@@ -69,3 +71,5 @@ Status lldb_private::process_linux::arm64::WriteHardwareDebugRegs(
6971
return NativeProcessLinux::PtraceWrapper(PTRACE_SETREGSET, tid, &regset,
7072
&ioVec, ioVec.iov_len);
7173
}
74+
75+
#endif // defined (__arm64__) || defined (__aarch64__)

0 commit comments

Comments
 (0)