[llvm-branch-commits] [lldb] 5d50168 - [lldb] Fix test_chained_frame_providers on 32-bit Arm (#177668)
Cullen Rhodes via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Feb 9 01:52:34 PST 2026
Author: Leandro Lupori
Date: 2026-02-09T09:52:23Z
New Revision: 5d50168a207adc174831f91623b953fdc7b89779
URL: https://github.com/llvm/llvm-project/commit/5d50168a207adc174831f91623b953fdc7b89779
DIFF: https://github.com/llvm/llvm-project/commit/5d50168a207adc174831f91623b953fdc7b89779.diff
LOG: [lldb] Fix test_chained_frame_providers on 32-bit Arm (#177668)
PC addresses must always be 16-bit aligned on 32-bit Arm CPUs.
Fixes #177666
(cherry picked from commit cd70e2d8367493785f1591045db2151540b14b91)
Added:
Modified:
lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
lldb/test/API/functionalities/scripted_frame_provider/test_frame_providers.py
Removed:
################################################################################
diff --git a/lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py b/lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
index ceca64a450686..964d213b16887 100644
--- a/lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
+++ b/lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
@@ -706,7 +706,7 @@ def test_chained_frame_providers(self):
"baz",
"Frame 0 should be 'baz' from last provider in chain",
)
- self.assertEqual(frame0.GetPC(), 0xBAD)
+ self.assertEqual(frame0.GetPC(), 0xBAC)
frame1 = thread.GetFrameAtIndex(1)
self.assertIsNotNone(frame1)
@@ -715,7 +715,7 @@ def test_chained_frame_providers(self):
"bar",
"Frame 1 should be 'bar' from second provider in chain",
)
- self.assertEqual(frame1.GetPC(), 0xBAB)
+ self.assertEqual(frame1.GetPC(), 0xBAA)
frame2 = thread.GetFrameAtIndex(2)
self.assertIsNotNone(frame2)
diff --git a/lldb/test/API/functionalities/scripted_frame_provider/test_frame_providers.py b/lldb/test/API/functionalities/scripted_frame_provider/test_frame_providers.py
index e97d11f173045..6233041f68a51 100644
--- a/lldb/test/API/functionalities/scripted_frame_provider/test_frame_providers.py
+++ b/lldb/test/API/functionalities/scripted_frame_provider/test_frame_providers.py
@@ -427,7 +427,7 @@ def get_priority():
def get_frame_at_index(self, index):
if index == 0:
# Return synthetic "bar" frame
- return CustomScriptedFrame(self.thread, 0, 0xBAB, "bar")
+ return CustomScriptedFrame(self.thread, 0, 0xBAA, "bar")
elif index - 1 < len(self.input_frames):
# Pass through input frames (shifted by 1)
return index - 1
@@ -453,7 +453,7 @@ def get_priority():
def get_frame_at_index(self, index):
if index == 0:
# Return synthetic "baz" frame
- return CustomScriptedFrame(self.thread, 0, 0xBAD, "baz")
+ return CustomScriptedFrame(self.thread, 0, 0xBAC, "baz")
elif index - 1 < len(self.input_frames):
# Pass through input frames (shifted by 1)
return index - 1
More information about the llvm-branch-commits
mailing list