Path: blob/main/contrib/llvm-project/lldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.h
39653 views
//===-- ArchitecturePPC64.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_SOURCE_PLUGINS_ARCHITECTURE_PPC64_ARCHITECTUREPPC64_H9#define LLDB_SOURCE_PLUGINS_ARCHITECTURE_PPC64_ARCHITECTUREPPC64_H1011#include "lldb/Core/Architecture.h"1213namespace lldb_private {1415class ArchitecturePPC64 : public Architecture {16public:17static llvm::StringRef GetPluginNameStatic() { return "ppc64"; }18static void Initialize();19static void Terminate();2021llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }2223void OverrideStopInfo(Thread &thread) const override {}2425/// This method compares current address with current function's26/// local entry point, returning the bytes to skip if they match.27size_t GetBytesToSkip(Symbol &func, const Address &curr_addr) const override;2829void AdjustBreakpointAddress(const Symbol &func,30Address &addr) const override;3132private:33static std::unique_ptr<Architecture> Create(const ArchSpec &arch);34ArchitecturePPC64() = default;35};3637} // namespace lldb_private3839#endif // LLDB_SOURCE_PLUGINS_ARCHITECTURE_PPC64_ARCHITECTUREPPC64_H404142