Path: blob/main/contrib/llvm-project/lldb/source/Plugins/Process/Utility/NativeRegisterContextDBReg_loongarch.h
213845 views
//===-- NativeRegisterContextDBReg_loongarch.h ------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef lldb_NativeRegisterContextDBReg_loongarch_h9#define lldb_NativeRegisterContextDBReg_loongarch_h1011#include "Plugins/Process/Utility/NativeRegisterContextDBReg.h"1213namespace lldb_private {1415class NativeRegisterContextDBReg_loongarch : public NativeRegisterContextDBReg {16public:17NativeRegisterContextDBReg_loongarch()18: NativeRegisterContextDBReg(/*enable_bit=*/0x10U) {}1920private:21uint32_t GetWatchpointSize(uint32_t wp_index) override;2223std::optional<WatchpointDetails>24AdjustWatchpoint(const WatchpointDetails &details) override;2526uint32_t MakeBreakControlValue(size_t size) override;2728uint32_t MakeWatchControlValue(size_t size, uint32_t watch_flags) override;29};3031} // namespace lldb_private3233#endif // #ifndef lldb_NativeRegisterContextDBReg_loongarch_h343536