[Lldb-commits] [lldb] [lldb] End to end test for address spaces using lldb-server mock accelerator plugin (PR #217092)

satyanarayana reddy janga via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 9 13:46:03 PDT 2026


================
@@ -0,0 +1,85 @@
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import configuration
+
+
+class MockAcceleratorAddressSpacesTestCase(TestBase):
+    NO_DEBUG_INFO_TESTCASE = True
+
+    def setUp(self):
+        super().setUp()
+        if "mock-accelerator" not in configuration.enabled_plugins:
+            self.skipTest("mock-accelerator plugin is not enabled")
+
+    def accelerator_target(self, native_target):
+        for i in range(self.dbg.GetNumTargets()):
----------------
satyajanga wrote:

updated it looks cleaner niw

https://github.com/llvm/llvm-project/pull/217092


More information about the lldb-commits mailing list