//===-- NativeRegisterContextDBReg_loongarch.h ------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef lldb_NativeRegisterContextDBReg_loongarch_h #define lldb_NativeRegisterContextDBReg_loongarch_h #include "Plugins/Process/Utility/NativeRegisterContextDBReg.h" namespace lldb_private { class NativeRegisterContextDBReg_loongarch : public NativeRegisterContextDBReg { public: NativeRegisterContextDBReg_loongarch() : NativeRegisterContextDBReg(/*enable_bit=*/0x10U) {} private: uint32_t GetWatchpointSize(uint32_t wp_index) override; std::optional AdjustWatchpoint(const WatchpointDetails &details) override; uint32_t MakeBreakControlValue(size_t size) override; uint32_t MakeWatchControlValue(size_t size, uint32_t watch_flags) override; }; } // namespace lldb_private #endif // #ifndef lldb_NativeRegisterContextDBReg_loongarch_h