Skip to content

Commit 66ef94b

Browse files
felipepiovezanGeneraluseAI
authored andcommitted
[lldb][NFC] Fix incorrect comments in TestArm64InstEmulation
1 parent 1277c9a commit 66ef94b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,13 +1008,13 @@ TEST_F(TestArm64InstEmulation, TestMidFunctionEpilogueAndBackwardsJump) {
10081008
// row[4]: 24: CFA=sp+48 => fp=<same> lr=<same>
10091009
//
10101010
// This must come from +56
1011-
// row[5]: 32: CFA=fp+16 => fp=[CFA-16] lr=[CFA-8] x22=[CFA-24], x23=[CFA-32]
1011+
// row[5]: 32: CFA=fp+16 => fp=[CFA-16] lr=[CFA-8] x22=[CFA-32], x23=[CFA-24]
10121012
// row[6]: 40: CFA=fp+16 => fp=[CFA-16] lr=[CFA-8] x22=same, x23 = same
10131013
// row[6]: 44: CFA=sp+48 => fp=same lr=same x22=same, x23 = same
10141014
// row[6]: 48: CFA=sp0 => fp=same lr=same x22=same, x23 = same
10151015
//
10161016
// row[x]: 52: CFA=fp+16 => fp=[CFA-16] lr=[CFA-8]
1017-
// row[x]: 56: CFA=fp+16 => fp=[CFA-16] lr=[CFA-8] x22=[CFA-24], x23=[CFA-32]
1017+
// row[x]: 56: CFA=fp+16 => fp=[CFA-16] lr=[CFA-8] x22=[CFA-32], x23=[CFA-24]
10181018
// clang-format on
10191019

10201020
sample_range = AddressRange(0x1000, sizeof(data));
@@ -1059,7 +1059,7 @@ TEST_F(TestArm64InstEmulation, TestMidFunctionEpilogueAndBackwardsJump) {
10591059
// <+28>: ret
10601060
// <+32>: mov x23, #0x1
10611061
row = unwind_plan.GetRowForFunctionOffset(32);
1062-
// FIXME: EXPECT_NE(32, row->GetOffset());
1062+
// FIXME: EXPECT_NE(28, row->GetOffset());
10631063

10641064
// Check that the state of this branch
10651065
// <+16>: b.ne ; <+52> DO_SOMETHING_AND_GOTO_AFTER_EPILOGUE

0 commit comments

Comments
 (0)