brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 6bfe34d Raw
33 lines · c
1//===-- RegisterContextLinux_s390x.h ----------------------------*- C++ -*-===//2//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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_S390X_H10#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_S390X_H11 12#include "RegisterInfoInterface.h"13 14class RegisterContextLinux_s390x : public lldb_private::RegisterInfoInterface {15public:16  RegisterContextLinux_s390x(const lldb_private::ArchSpec &target_arch);17 18  size_t GetGPRSize() const override;19 20  const lldb_private::RegisterInfo *GetRegisterInfo() const override;21 22  uint32_t GetRegisterCount() const override;23 24  uint32_t GetUserRegisterCount() const override;25 26private:27  const lldb_private::RegisterInfo *m_register_info_p;28  uint32_t m_register_info_count;29  uint32_t m_user_register_count;30};31 32#endif33