LLDB mainline
|
#include "ABISysV_arc.h"
#include <array>
#include <limits>
#include <type_traits>
#include "llvm/IR/DerivedTypes.h"
#include "llvm/Support/MathExtras.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/Core/ValueObjectMemory.h"
#include "lldb/Core/ValueObjectRegister.h"
#include "lldb/Symbol/UnwindPlan.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/StackFrame.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/ConstString.h"
#include "lldb/Utility/RegisterValue.h"
#include "lldb/Utility/Status.h"
Go to the source code of this file.
Namespaces | |
namespace | dwarf |
Macros | |
#define | DEFINE_REG_NAME(reg_num) ConstString(#reg_num).GetCString() |
#define | DEFINE_REG_NAME_STR(reg_name) ConstString(reg_name).GetCString() |
#define | DEFINE_GENERIC_REGISTER_STUB(dwarf_num, str_name, generic_num) |
#define | DEFINE_REGISTER_STUB(dwarf_num, str_name) DEFINE_GENERIC_REGISTER_STUB(dwarf_num, str_name, LLDB_INVALID_REGNUM) |
Functions | |
static size_t | AugmentArgSize (size_t size_in_bytes) |
static size_t | TotalArgsSizeInWords (const llvm::ArrayRef< ABI::CallArgument > &args) |
template<typename T > | |
static void | SetInteger (Scalar &scalar, uint64_t raw_value, bool is_signed) |
static bool | SetSizedInteger (Scalar &scalar, uint64_t raw_value, uint8_t size_in_bytes, bool is_signed) |
static bool | SetSizedFloat (Scalar &scalar, uint64_t raw_value, uint8_t size_in_bytes) |
static uint64_t | ReadRawValue (const RegisterContextSP ®_ctx, uint8_t size_in_bytes) |
Variables | |
static const size_t | word_size = 4U |
static const size_t | reg_size = word_size |
#define DEFINE_GENERIC_REGISTER_STUB | ( | dwarf_num, | |
str_name, | |||
generic_num | |||
) |
Definition at line 44 of file ABISysV_arc.cpp.
#define DEFINE_REG_NAME | ( | reg_num | ) | ConstString(#reg_num).GetCString() |
Definition at line 38 of file ABISysV_arc.cpp.
#define DEFINE_REG_NAME_STR | ( | reg_name | ) | ConstString(reg_name).GetCString() |
Definition at line 39 of file ABISysV_arc.cpp.
#define DEFINE_REGISTER_STUB | ( | dwarf_num, | |
str_name | |||
) | DEFINE_GENERIC_REGISTER_STUB(dwarf_num, str_name, LLDB_INVALID_REGNUM) |
Definition at line 52 of file ABISysV_arc.cpp.
|
inlinestatic |
Definition at line 173 of file ABISysV_arc.cpp.
References word_size.
Referenced by TotalArgsSizeInWords().
|
static |
Definition at line 427 of file ABISysV_arc.cpp.
References lldb::eRegisterKindGeneric, LLDB_REGNUM_GENERIC_ARG1, LLDB_REGNUM_GENERIC_ARG2, UINT32_MAX, and UINT64_MAX.
Referenced by ABISysV_arc::GetReturnValueObjectImpl(), and ABISysV_arc::GetReturnValueObjectSimple().
|
static |
Definition at line 375 of file ABISysV_arc.cpp.
|
static |
Definition at line 409 of file ABISysV_arc.cpp.
Referenced by ABISysV_arc::GetReturnValueObjectImpl(), and ABISysV_arc::GetReturnValueObjectSimple().
|
static |
Definition at line 383 of file ABISysV_arc.cpp.
Referenced by ABISysV_arc::GetReturnValueObjectImpl(), and ABISysV_arc::GetReturnValueObjectSimple().
|
static |
Definition at line 178 of file ABISysV_arc.cpp.
References AugmentArgSize(), reg_size, lldb_private::ABI::CallArgument::TargetValue, and word_size.
|
static |
Definition at line 171 of file ABISysV_arc.cpp.
Referenced by ABISysV_riscv::CreateDefaultUnwindPlan(), lldb_private::npdb::GetVariableLocationInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_P(), ABISysV_arc::SetReturnValueObject(), ABISysV_riscv::SetReturnValueObject(), and TotalArgsSizeInWords().
|
static |
Definition at line 170 of file ABISysV_arc.cpp.
Referenced by AugmentArgSize(), lldb_private::PlatformWindows::DoLoadImage(), HexagonDYLDRendezvous::Resolve(), DYLDRendezvous::Resolve(), and TotalArgsSizeInWords().