LLDB mainline
|
#include <ABISysV_s390x.h>
Static Public Member Functions | |
static void | Initialize () |
static void | Terminate () |
static lldb::ABISP | CreateInstance (lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch) |
static llvm::StringRef | GetPluginNameStatic () |
Static Public Member Functions inherited from lldb_private::ABI | |
static lldb::ABISP | FindPlugin (lldb::ProcessSP process_sp, const ArchSpec &arch) |
Protected Member Functions | |
void | CreateRegisterMapIfNeeded () |
lldb::ValueObjectSP | GetReturnValueObjectSimple (lldb_private::Thread &thread, lldb_private::CompilerType &ast_type) const |
bool | RegisterIsCalleeSaved (const lldb_private::RegisterInfo *reg_info) |
Protected Member Functions inherited from lldb_private::RegInfoBasedABI | |
bool | GetRegisterInfoByName (llvm::StringRef name, RegisterInfo &info) |
virtual const RegisterInfo * | GetRegisterInfoArray (uint32_t &count)=0 |
ABI (lldb::ProcessSP process_sp, std::unique_ptr< llvm::MCRegisterInfo > info_up) | |
Protected Member Functions inherited from lldb_private::ABI | |
virtual lldb::ValueObjectSP | GetReturnValueObjectImpl (Thread &thread, CompilerType &ast_type) const =0 |
virtual lldb::ValueObjectSP | GetReturnValueObjectImpl (Thread &thread, llvm::Type &ir_type) const |
lldb::ProcessSP | GetProcessSP () const |
Request to get a Process shared pointer. | |
ABI (lldb::ProcessSP process_sp, std::unique_ptr< llvm::MCRegisterInfo > info_up) | |
Additional Inherited Members | |
Static Protected Member Functions inherited from lldb_private::ABI | |
static std::unique_ptr< llvm::MCRegisterInfo > | MakeMCRegisterInfo (const ArchSpec &arch) |
Utility function to construct a MCRegisterInfo using the ArchSpec triple. | |
Protected Attributes inherited from lldb_private::ABI | |
lldb::ProcessWP | m_process_wp |
std::unique_ptr< llvm::MCRegisterInfo > | m_mc_register_info_up |
Definition at line 15 of file ABISysV_s390x.h.
|
overridedefault |
|
inlineoverridevirtual |
Implements lldb_private::ABI.
Definition at line 48 of file ABISysV_s390x.h.
|
inlineoverridevirtual |
|
overridevirtual |
Implements lldb_private::ABI.
Definition at line 637 of file ABISysV_s390x.cpp.
|
overridevirtual |
Implements lldb_private::ABI.
Definition at line 618 of file ABISysV_s390x.cpp.
References lldb_private::UnwindPlan::AppendRow(), lldb_private::UnwindPlan::Clear(), dwarf_pswa_s390x, dwarf_r14_s390x, dwarf_r15_s390x, lldb_private::eLazyBoolNo, lldb::eRegisterKindDWARF, lldb_private::UnwindPlan::SetRegisterKind(), lldb_private::UnwindPlan::SetSourcedFromCompiler(), and lldb_private::UnwindPlan::SetSourceName().
|
static |
Definition at line 189 of file ABISysV_s390x.cpp.
References lldb_private::ArchSpec::GetTriple(), and lldb_private::ABI::MakeMCRegisterInfo().
Referenced by Initialize(), and Terminate().
|
protected |
|
overridevirtual |
Implements lldb_private::ABI.
Definition at line 309 of file ABISysV_s390x.cpp.
References lldb::eRegisterKindGeneric, lldb::eRegisterKindLLDB, lldb_private::CompilerType::GetBitSize(), lldb_private::Value::GetCompilerType(), lldb_private::Thread::GetRegisterContext(), lldb_private::RegisterContext::GetRegisterInfo(), lldb_private::Value::GetScalar(), lldb_private::ValueList::GetSize(), lldb_private::RegisterContext::GetSP(), lldb_private::ValueList::GetValueAtIndex(), lldb_private::CompilerType::IsIntegerOrEnumerationType(), lldb_private::CompilerType::IsPointerType(), lldb_private::RegisterInfo::kinds, LLDB_REGNUM_GENERIC_ARG1, LLDB_REGNUM_GENERIC_ARG2, LLDB_REGNUM_GENERIC_ARG3, LLDB_REGNUM_GENERIC_ARG4, LLDB_REGNUM_GENERIC_ARG5, ReadIntegerArgument(), and sp.
|
overridevirtual |
Reimplemented from lldb_private::ABI.
Definition at line 643 of file ABISysV_s390x.cpp.
References RegisterIsVolatile(), and lldb_private::UnwindPlan::Row::RegisterLocation::SetUndefined().
|
inlineoverridevirtual |
Implements lldb_private::PluginInterface.
Definition at line 77 of file ABISysV_s390x.h.
References GetPluginNameStatic().
|
inlinestatic |
Definition at line 73 of file ABISysV_s390x.h.
Referenced by GetPluginName(), and Initialize().
|
overridevirtual |
Implements lldb_private::ABI.
Definition at line 184 of file ABISysV_s390x.cpp.
|
overridevirtual |
Implements lldb_private::RegInfoBasedABI.
Definition at line 179 of file ABISysV_s390x.cpp.
References g_register_infos, and k_num_register_infos.
|
overridevirtual |
Implements lldb_private::ABI.
Definition at line 583 of file ABISysV_s390x.cpp.
References lldb_private::ValueObjectMemory::Create(), lldb::eRegisterKindLLDB, lldb_private::Thread::GetRegisterContext(), GetReturnValueObjectSimple(), and lldb_private::CompilerType::IsAggregateType().
|
protected |
Definition at line 474 of file ABISysV_s390x.cpp.
References lldb_private::ValueObjectConstResult::Create(), lldb::eRegisterKindLLDB, lldb_private::CompilerType::GetByteSize(), lldb_private::RegisterValue::GetData(), lldb_private::DataExtractor::GetDouble(), lldb_private::DataExtractor::GetFloat(), lldb_private::Thread::GetRegisterContext(), lldb_private::RegisterContext::GetRegisterInfoByName(), lldb_private::Value::GetScalar(), lldb_private::Thread::GetStackFrameAtIndex(), lldb_private::CompilerType::GetTypeInfo(), lldb_private::RegisterInfo::kinds, lldb_private::RegisterContext::ReadRegister(), lldb_private::Value::SetCompilerType(), lldb_private::Value::SetValueType(), and UINT32_MAX.
Referenced by GetReturnValueObjectImpl().
|
static |
Definition at line 712 of file ABISysV_s390x.cpp.
References CreateInstance(), GetPluginNameStatic(), and lldb_private::PluginManager::RegisterPlugin().
|
overridevirtual |
Implements lldb_private::ABI.
Definition at line 196 of file ABISysV_s390x.cpp.
References lldb::eRegisterKindGeneric, error(), lldb_private::UserID::GetID(), lldb_private::GetLog(), lldb_private::Thread::GetProcess(), lldb_private::Thread::GetRegisterContext(), lldb_private::RegisterContext::GetRegisterInfo(), lldb_private::RegisterContext::GetRegisterInfoByName(), lldb_private::StreamString::GetString(), LLDB_LOGF, LLDB_REGNUM_GENERIC_ARG1, LLDB_REGNUM_GENERIC_PC, LLDB_REGNUM_GENERIC_SP, lldb_private::RegisterInfo::name, lldb_private::Stream::Printf(), lldb_private::Stream::PutCString(), lldb_private::Log::PutString(), sp, and lldb_private::RegisterContext::WriteRegisterFromUnsigned().
|
protected |
Definition at line 661 of file ABISysV_s390x.cpp.
References lldb_private::RegisterInfo::name.
Referenced by RegisterIsVolatile().
|
overridevirtual |
Implements lldb_private::ABI.
Definition at line 657 of file ABISysV_s390x.cpp.
References RegisterIsCalleeSaved().
Referenced by GetFallbackRegisterLocation().
|
overridevirtual |
Implements lldb_private::ABI.
Definition at line 378 of file ABISysV_s390x.cpp.
References lldb_private::Status::AsCString(), lldb_private::DataExtractor::CopyByteOrderedData(), error(), lldb_private::Status::Fail(), lldb_private::CompilerType::GetBitSize(), lldb_private::DataExtractor::GetByteOrder(), lldb_private::DataExtractor::GetMaxU64(), lldb_private::Thread::GetRegisterContext(), lldb_private::RegisterContext::GetRegisterInfoByName(), lldb_private::CompilerType::IsFloatingPointType(), lldb_private::CompilerType::IsIntegerOrEnumerationType(), lldb_private::CompilerType::IsPointerType(), lldb_private::RegisterValue::SetBytes(), lldb_private::RegisterContext::WriteRegister(), and lldb_private::RegisterContext::WriteRegisterFromUnsigned().
|
static |
Definition at line 717 of file ABISysV_s390x.cpp.
References CreateInstance(), and lldb_private::PluginManager::UnregisterPlugin().