Changeset View
Changeset View
Standalone View
Standalone View
source/Plugins/Process/Utility/RegisterContextWindows_wow64.h
- This file was added.
//===-- RegisterContextWindows_wow64.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 liblldb_RegisterContextWindows_wow64_H_ | |||||
#define liblldb_RegisterContextWindows_wow64_H_ | |||||
#include "RegisterInfoInterface.h" | |||||
class RegisterContextWindows_wow64 | |||||
: public lldb_private::RegisterInfoInterface { | |||||
public: | |||||
RegisterContextWindows_wow64(const lldb_private::ArchSpec &target_arch); | |||||
size_t GetGPRSize() const override; | |||||
const lldb_private::RegisterInfo *GetRegisterInfo() const override { | |||||
return m_register_info_p; | |||||
} | |||||
uint32_t GetRegisterCount() const override { return m_register_info_count; } | |||||
uint32_t GetUserRegisterCount() const override { | |||||
return m_user_register_count; | |||||
} | |||||
private: | |||||
const lldb_private::RegisterInfo *m_register_info_p; | |||||
uint32_t m_register_info_count; | |||||
uint32_t m_user_register_count; | |||||
}; | |||||
#endif |