https://github.com/labath updated https://github.com/llvm/llvm-project/pull/188265
>From 54bdc189e37d30e5b31cf02a58a88572657e780e Mon Sep 17 00:00:00 2001 From: Pavel Labath <[email protected]> Date: Tue, 24 Mar 2026 15:59:23 +0100 Subject: [PATCH 1/2] [lldb] Make TestSBModule a no-SHARED_BUILD_TESTCASE Building libfoo.a twice (quickly) confuses the cache in ObjectContainerBSDArchive (which works only with second granularity), and causes the second test to fail due to accessing wrong parts of the file. I'm also making this a NO_DEBUG_INFO_TESTCASE as the debug info distinction is not particularly relevant for this test. Technically, this would be enough as the collision is between two debug info variants of the same test case, but SHARED_BUILD_TESTCASE=False seems like a more principled fix. --- lldb/test/API/python_api/sbmodule/TestSBModule.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lldb/test/API/python_api/sbmodule/TestSBModule.py b/lldb/test/API/python_api/sbmodule/TestSBModule.py index 1e6cdefc8d8f0..69ff0b0a2e5dc 100644 --- a/lldb/test/API/python_api/sbmodule/TestSBModule.py +++ b/lldb/test/API/python_api/sbmodule/TestSBModule.py @@ -9,6 +9,12 @@ class SBModuleAPICase(TestBase): + + NO_DEBUG_INFO_TESTCASE = True + + # Shared build causes collisions in the ObjectArchive file cache + SHARED_BUILD_TESTCASE = False + def setUp(self): TestBase.setUp(self) self.background_pid = None >From c009f0d3b7dedb4b8dc844687e1131e0e6998eda Mon Sep 17 00:00:00 2001 From: Pavel Labath <[email protected]> Date: Tue, 24 Mar 2026 16:28:10 +0100 Subject: [PATCH 2/2] format --- lldb/test/API/python_api/sbmodule/TestSBModule.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lldb/test/API/python_api/sbmodule/TestSBModule.py b/lldb/test/API/python_api/sbmodule/TestSBModule.py index 69ff0b0a2e5dc..b1d247a0eba8a 100644 --- a/lldb/test/API/python_api/sbmodule/TestSBModule.py +++ b/lldb/test/API/python_api/sbmodule/TestSBModule.py @@ -9,7 +9,6 @@ class SBModuleAPICase(TestBase): - NO_DEBUG_INFO_TESTCASE = True # Shared build causes collisions in the ObjectArchive file cache _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
