[Lldb-commits] [lldb] [lldb][test] Make TestInterruptThreadNames not depend on debug info (PR #201553)

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 4 04:30:02 PDT 2026


https://github.com/Teemperor created https://github.com/llvm/llvm-project/pull/201553

This test only reads the pthread names, which don't depend on any debug info.

This halves the runtime of this very long test from 22s to 11s.

>From 09eba3fe9ed32e6768d291981d2abead6d68e58d Mon Sep 17 00:00:00 2001
From: Raphael Isemann <rise at apple.com>
Date: Thu, 4 Jun 2026 12:29:13 +0100
Subject: [PATCH] [lldb][test] Make TestInterruptThreadNames not depend on
 debug info

This test only reads the pthread names, which don't depend on any
debug info.

This halves the runtime of this very long test from 22s to 11s.
---
 lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py b/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py
index 9a3339579de03..9b99aae8214ae 100644
--- a/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py
+++ b/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py
@@ -9,6 +9,8 @@
 
 
 class TestInterruptThreadNames(TestBase):
+    NO_DEBUG_INFO_TESTCASE = True
+
     @skipUnlessDarwin
     @add_test_categories(["pyapi"])
     def test_with_python_api(self):



More information about the lldb-commits mailing list