Michael Buch
b7bc4a2103
Revert "[lldb] Introduce ScriptedFrameProvider for real threads" (#167662)
The new test fails on x86 and arm64 public macOS bots:
```
09:27:59 ======================================================================
09:27:59 FAIL: test_append_frames (TestScriptedFrameProvider.ScriptedFrameProviderTestCase)
09:27:59 Test that we can add frames after real stack.
09:27:59 ----------------------------------------------------------------------
09:27:59 Traceback (most recent call last):
09:27:59 File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py", line 122, in test_append_frames
09:27:59 self.assertEqual(new_frame_count, original_frame_count + 1)
09:27:59 AssertionError: 5 != 6
09:27:59 Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang
09:27:59 ======================================================================
09:27:59 FAIL: test_applies_to_thread (TestScriptedFrameProvider.ScriptedFrameProviderTestCase)
09:27:59 Test that applies_to_thread filters which threads get the provider.
09:27:59 ----------------------------------------------------------------------
09:27:59 Traceback (most recent call last):
09:27:59 File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py", line 218, in test_applies_to_thread
09:27:59 self.assertEqual(
09:27:59 AssertionError: 5 != 1 : Thread with ID 1 should have 1 synthetic frame
09:27:59 Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang
09:27:59 ======================================================================
09:27:59 FAIL: test_prepend_frames (TestScriptedFrameProvider.ScriptedFrameProviderTestCase)
09:27:59 Test that we can add frames before real stack.
09:27:59 ----------------------------------------------------------------------
09:27:59 Traceback (most recent call last):
09:27:59 File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py", line 84, in test_prepend_frames
09:27:59 self.assertEqual(new_frame_count, original_frame_count + 2)
09:27:59 AssertionError: 5 != 7
09:27:59 Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang
09:27:59 ======================================================================
09:27:59 FAIL: test_remove_frame_provider_by_id (TestScriptedFrameProvider.ScriptedFrameProviderTestCase)
09:27:59 Test that RemoveScriptedFrameProvider removes a specific provider by ID.
09:27:59 ----------------------------------------------------------------------
09:27:59 Traceback (most recent call last):
09:27:59 File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py", line 272, in test_remove_frame_provider_by_id
09:27:59 self.assertEqual(thread.GetNumFrames(), 3, "Should have 3 synthetic frames")
09:27:59 AssertionError: 5 != 3 : Should have 3 synthetic frames
09:27:59 Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang
09:27:59 ======================================================================
09:27:59 FAIL: test_replace_all_frames (TestScriptedFrameProvider.ScriptedFrameProviderTestCase)
09:27:59 Test that we can replace the entire stack.
09:27:59 ----------------------------------------------------------------------
09:27:59 Traceback (most recent call last):
09:27:59 File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py", line 41, in test_replace_all_frames
09:27:59 self.assertEqual(thread.GetNumFrames(), 3, "Should have 3 synthetic frames")
09:27:59 AssertionError: 5 != 3 : Should have 3 synthetic frames
09:27:59 Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang
09:27:59 ======================================================================
09:27:59 FAIL: test_scripted_frame_objects (TestScriptedFrameProvider.ScriptedFrameProviderTestCase)
09:27:59 Test that provider can return ScriptedFrame objects.
09:27:59 ----------------------------------------------------------------------
09:27:59 Traceback (most recent call last):
09:27:59 File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py", line 159, in test_scripted_frame_objects
09:27:59 self.assertEqual(frame0.GetFunctionName(), "custom_scripted_frame_0")
09:27:59 AssertionError: 'thread_func(int)' != 'custom_scripted_frame_0'
09:27:59 - thread_func(int)
09:27:59 + custom_scripted_frame_0
09:27:59
09:27:59 Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang
09:27:59 ----------------------------------------------------------------------
09:27:59 Ran 6 tests in 14.242s
09:27:59
09:27:59 FAILED (failures=6)
```
Reverts llvm/llvm-project#161870
2025-11-12 10:13:43 +00:00
..
2025-01-31 13:23:26 -08:00
2025-03-17 14:30:39 -07:00
2024-08-08 12:55:10 -07:00
2024-10-08 08:58:43 +00:00
2025-09-08 22:48:34 +01:00
2025-11-10 15:21:06 -08:00
2025-05-27 18:41:16 -07:00
2025-09-04 13:21:24 -07:00
2024-12-17 13:23:13 +00:00
2025-11-07 14:16:44 +01:00
2025-02-20 13:23:03 +01:00
2025-05-13 17:52:23 +02:00
2025-08-29 16:23:07 +01:00
2024-10-16 13:07:02 +02:00
2025-05-27 18:41:16 -07:00
2024-10-16 13:07:02 +02:00
2024-09-25 10:08:10 +01:00
2025-11-07 18:07:38 +00:00
2025-05-27 18:41:16 -07:00
2025-09-04 16:37:41 -07:00
2024-11-05 10:33:24 -08:00
2024-10-16 13:07:02 +02:00
2025-10-01 15:40:42 -07:00
2024-10-16 13:07:02 +02:00
2025-05-13 17:52:23 +02:00
2025-05-27 18:41:16 -07:00
2024-10-16 13:07:02 +02:00
2025-05-27 18:41:16 -07:00
2025-05-27 18:41:16 -07:00
2025-08-01 12:51:59 -07:00
2025-02-28 14:59:35 +00:00
2025-10-31 10:33:37 +01:00
2025-09-04 16:37:41 -07:00
2025-04-13 23:21:52 +01:00
2025-07-31 13:10:04 -07:00
2025-09-18 08:20:09 -07:00
2025-08-19 10:49:23 -07:00
2025-05-13 17:52:23 +02:00
2025-06-23 18:02:58 +01:00
2025-07-18 13:05:15 -07:00
2025-06-26 10:45:11 -07:00
2025-09-10 20:26:36 +01:00
2025-06-02 14:01:45 +04:00
2025-09-04 15:07:11 -07:00
2024-11-15 00:56:34 -08:00
2024-08-05 17:26:39 -07:00
2025-10-01 21:14:23 +00:00
2025-08-28 08:58:22 +00:00
2025-07-31 13:10:04 -07:00
2025-06-03 09:38:22 -07:00
2025-08-03 00:01:19 +01:00
2025-02-28 14:59:35 +00:00
2024-10-18 21:16:50 +01:00
2025-11-11 10:43:43 +00:00
2025-09-08 22:48:34 +01:00
2025-09-08 22:48:34 +01:00
2025-11-11 18:31:57 -08:00
2025-09-15 16:55:00 +00:00
2025-10-27 10:25:58 -07:00
2025-05-21 17:38:35 -07:00