LLDB mainline
ABIMacOSX_arm64.cpp File Reference
#include "ABIMacOSX_arm64.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/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/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/RegisterValue.h"
#include "lldb/Utility/Scalar.h"
#include "lldb/Utility/Status.h"
#include "lldb/ValueObject/ValueObjectConstResult.h"

Go to the source code of this file.

Functions

static bool LoadValueFromConsecutiveGPRRegisters (ExecutionContext &exe_ctx, RegisterContext *reg_ctx, const CompilerType &value_type, bool is_return_value, uint32_t &NGRN, uint32_t &NSRN, DataExtractor &data)
static addr_t DoFixAddr (addr_t addr, bool is_code, ProcessSP process_sp)
 Consults the process for its {code, data} address masks and applies it to addr.

Variables

static const char * pluginDesc = "Mac OS X ABI for arm64 targets"
constexpr addr_t tbi_mask = 0xff80000000000000ULL
constexpr addr_t pac_sign_extension = 0x0080000000000000ULL

Function Documentation

◆ DoFixAddr()

addr_t DoFixAddr ( addr_t addr,
bool is_code,
ProcessSP process_sp )
static

Consults the process for its {code, data} address masks and applies it to addr.

Definition at line 765 of file ABIMacOSX_arm64.cpp.

References LLDB_INVALID_ADDRESS_MASK, pac_sign_extension, and tbi_mask.

Referenced by ABIMacOSX_arm64::FixCodeAddress(), and ABIMacOSX_arm64::FixDataAddress().

◆ LoadValueFromConsecutiveGPRRegisters()

Variable Documentation

◆ pac_sign_extension

◆ pluginDesc

const char* pluginDesc = "Mac OS X ABI for arm64 targets"
static

Definition at line 35 of file ABIMacOSX_arm64.cpp.

Referenced by ABIMacOSX_arm64::Initialize().

◆ tbi_mask

addr_t tbi_mask = 0xff80000000000000ULL
constexpr

Definition at line 760 of file ABIMacOSX_arm64.cpp.

Referenced by DoFixAddr().