Skip to content

Commit bd3838f

Browse files
committed
Skip TestThreadLocal.py on darwin temporarily for linker issue
The new static linker in Xcode 15 does not emit the necessary symbols for file static thread local storage, causing this test to fail when used. The old static linker is still available as ld-classic in Xcode 15, but it has to be invoked specially, and the new static linker will be fixed at some point. I may try to add linker name and versioning information in lldb/packages/Python/lldbsuite/test/decorators.py like we do with the compiler / compiler_version, so it can be xfailed for known problematic static linker name / versions, but until I get that sorted I'm skipping this test to unblock the CI bots.
1 parent e611a4c commit bd3838f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
class PlatformProcessCrashInfoTestCase(TestBase):
1111
@expectedFailureAll(oslist=["windows", "linux", "freebsd", "netbsd"])
12+
@skipIfDarwin # rdar://120795095
1213
def test_thread_local(self):
1314
# Set a breakpoint on the first instruction of the main function,
1415
# before the TLS initialization has run.

0 commit comments

Comments
 (0)