forked from OSchip/llvm-project
[LLDB][AArch64][NFC] Fix some clang-format annotations
We don't want the DEFINE_ macros or the array registers being clang formatted. RegisterInfos_arm64.h was missing the off annotation and RegisterInfos_arm64_sve.h needed the off moving to before the macro definitions.
This commit is contained in:
parent
b1b9c39629
commit
552dccf311
|
@ -484,6 +484,8 @@ static uint32_t g_d31_invalidates[] = {fpu_v31, fpu_s31, LLDB_INVALID_REGNUM};
|
|||
#define MISC_FPU_KIND(lldb_kind) LLDB_KIND(lldb_kind)
|
||||
#define MISC_EXC_KIND(lldb_kind) LLDB_KIND(lldb_kind)
|
||||
|
||||
// clang-format off
|
||||
|
||||
// Defines a 64-bit general purpose register
|
||||
#define DEFINE_GPR64(reg, generic_kind) \
|
||||
{ \
|
||||
|
|
|
@ -304,6 +304,8 @@ static uint32_t g_contained_z31[] = {sve_z31, LLDB_INVALID_REGNUM};
|
|||
// Default offset SVE Z registers and all corresponding pseudo registers
|
||||
// ( S, D and V registers) is zero and will be configured during execution.
|
||||
|
||||
// clang-format off
|
||||
|
||||
// Defines sve pseudo vector (V) register with 16-byte size
|
||||
#define DEFINE_VREG_SVE(vreg, zreg) \
|
||||
{ \
|
||||
|
@ -333,7 +335,6 @@ static uint32_t g_contained_z31[] = {sve_z31, LLDB_INVALID_REGNUM};
|
|||
}
|
||||
|
||||
static lldb_private::RegisterInfo g_register_infos_arm64_sve_le[] = {
|
||||
// clang-format off
|
||||
// DEFINE_GPR64(name, GENERIC KIND)
|
||||
DEFINE_GPR64(x0, LLDB_REGNUM_GENERIC_ARG1),
|
||||
DEFINE_GPR64(x1, LLDB_REGNUM_GENERIC_ARG2),
|
||||
|
|
Loading…
Reference in New Issue