[Lldb-commits] [lldb] e493e90 - [lldb][NFC] Fix incorrect comments in TestArm64InstEmulation
Felipe de Azevedo Piovezan via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 26 00:53:19 PST 2025
Author: Felipe de Azevedo Piovezan
Date: 2025-11-26T08:52:44Z
New Revision: e493e90a890d92cb13090710d74bb16b3e1075f8
URL: https://github.com/llvm/llvm-project/commit/e493e90a890d92cb13090710d74bb16b3e1075f8
DIFF: https://github.com/llvm/llvm-project/commit/e493e90a890d92cb13090710d74bb16b3e1075f8.diff
LOG: [lldb][NFC] Fix incorrect comments in TestArm64InstEmulation
Added:
Modified:
lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp
Removed:
################################################################################
diff --git a/lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp b/lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp
index e28366e9f0432..6c74860971674 100644
--- a/lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp
+++ b/lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp
@@ -1008,13 +1008,13 @@ TEST_F(TestArm64InstEmulation, TestMidFunctionEpilogueAndBackwardsJump) {
// row[4]: 24: CFA=sp+48 => fp=<same> lr=<same>
//
// This must come from +56
- // row[5]: 32: CFA=fp+16 => fp=[CFA-16] lr=[CFA-8] x22=[CFA-24], x23=[CFA-32]
+ // row[5]: 32: CFA=fp+16 => fp=[CFA-16] lr=[CFA-8] x22=[CFA-32], x23=[CFA-24]
// row[6]: 40: CFA=fp+16 => fp=[CFA-16] lr=[CFA-8] x22=same, x23 = same
// row[6]: 44: CFA=sp+48 => fp=same lr=same x22=same, x23 = same
// row[6]: 48: CFA=sp0 => fp=same lr=same x22=same, x23 = same
//
// row[x]: 52: CFA=fp+16 => fp=[CFA-16] lr=[CFA-8]
- // row[x]: 56: CFA=fp+16 => fp=[CFA-16] lr=[CFA-8] x22=[CFA-24], x23=[CFA-32]
+ // row[x]: 56: CFA=fp+16 => fp=[CFA-16] lr=[CFA-8] x22=[CFA-32], x23=[CFA-24]
// clang-format on
sample_range = AddressRange(0x1000, sizeof(data));
@@ -1059,7 +1059,7 @@ TEST_F(TestArm64InstEmulation, TestMidFunctionEpilogueAndBackwardsJump) {
// <+28>: ret
// <+32>: mov x23, #0x1
row = unwind_plan.GetRowForFunctionOffset(32);
- // FIXME: EXPECT_NE(32, row->GetOffset());
+ // FIXME: EXPECT_NE(28, row->GetOffset());
// Check that the state of this branch
// <+16>: b.ne ; <+52> DO_SOMETHING_AND_GOTO_AFTER_EPILOGUE
More information about the lldb-commits
mailing list