#include "ABISysV_arm.h"
#include <optional>
#include <vector>
#include "llvm/ADT/STLExtras.h"
#include "llvm/TargetParser/Triple.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Core/Value.h"
#include "lldb/Core/ValueObjectConstResult.h"
#include "lldb/Symbol/UnwindPlan.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/ConstString.h"
#include "lldb/Utility/RegisterValue.h"
#include "lldb/Utility/Scalar.h"
#include "lldb/Utility/Status.h"
#include "Plugins/Process/Utility/ARMDefines.h"
#include "Utility/ARM_DWARF_Registers.h"
#include "Utility/ARM_ehframe_Registers.h"
usingnamespacelldb;
usingnamespacelldb_private;
LLDB_PLUGIN_DEFINE(…)
static const RegisterInfo g_register_infos[] = …;
static const uint32_t k_num_register_infos = …;
const lldb_private::RegisterInfo *
ABISysV_arm::GetRegisterInfoArray(uint32_t &count) { … }
size_t ABISysV_arm::GetRedZoneSize() const { … }
ABISP
ABISysV_arm::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch) { … }
bool ABISysV_arm::PrepareTrivialCall(Thread &thread, addr_t sp,
addr_t function_addr, addr_t return_addr,
llvm::ArrayRef<addr_t> args) const { … }
bool ABISysV_arm::GetArgumentValues(Thread &thread, ValueList &values) const { … }
static bool GetReturnValuePassedInMemory(Thread &thread,
RegisterContext *reg_ctx,
size_t byte_size, Value &value) { … }
bool ABISysV_arm::IsArmHardFloat(Thread &thread) const { … }
ValueObjectSP ABISysV_arm::GetReturnValueObjectImpl(
Thread &thread, lldb_private::CompilerType &compiler_type) const { … }
Status ABISysV_arm::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
lldb::ValueObjectSP &new_value_sp) { … }
bool ABISysV_arm::CreateFunctionEntryUnwindPlan(UnwindPlan &unwind_plan) { … }
bool ABISysV_arm::CreateDefaultUnwindPlan(UnwindPlan &unwind_plan) { … }
bool ABISysV_arm::RegisterIsVolatile(const RegisterInfo *reg_info) { … }
void ABISysV_arm::Initialize() { … }
void ABISysV_arm::Terminate() { … }