1 //===-- NativeRegisterContextDBReg_arm64.h ----------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef lldb_NativeRegisterContextDBReg_arm64_h
10 #define lldb_NativeRegisterContextDBReg_arm64_h
12 #include "Plugins/Process/Utility/NativeRegisterContextDBReg.h"
14 namespace lldb_private
{
16 class NativeRegisterContextDBReg_arm64
: public NativeRegisterContextDBReg
{
18 NativeRegisterContextDBReg_arm64()
19 : NativeRegisterContextDBReg(/*enable_bit=*/0x1U
) {}
22 uint32_t GetWatchpointSize(uint32_t wp_index
) override
;
24 std::optional
<WatchpointDetails
>
25 AdjustWatchpoint(const WatchpointDetails
&details
) override
;
27 uint32_t MakeBreakControlValue(size_t size
) override
;
29 uint32_t MakeWatchControlValue(size_t size
, uint32_t watch_flags
) override
;
32 } // namespace lldb_private
34 #endif // #ifndef lldb_NativeRegisterContextDBReg_arm64_h