[Lldb-commits] [lldb] bdf645b - [lldb][test] TestTsanBasic.py: fix function name assertion
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 8 11:27:32 PDT 2025
Author: Michael Buch
Date: 2025-09-08T19:27:18+01:00
New Revision: bdf645bb9b509b60bdb6a71d865b4f8999187977
URL: https://github.com/llvm/llvm-project/commit/bdf645bb9b509b60bdb6a71d865b4f8999187977
DIFF: https://github.com/llvm/llvm-project/commit/bdf645bb9b509b60bdb6a71d865b4f8999187977.diff
LOG: [lldb][test] TestTsanBasic.py: fix function name assertion
Since https://github.com/llvm/llvm-project/pull/133079 we no longer stop
in the stanitizer library when hitting a sanitizer breakpoint. Adjust
the test accordingly.
Added:
Modified:
lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py
Removed:
################################################################################
diff --git a/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py b/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py
index ca8b74e35dff6..2747b2b442195 100644
--- a/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py
+++ b/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py
@@ -63,11 +63,11 @@ def tsan_tests(self):
substrs=["1 match found"],
)
- # We should be stopped in __tsan_on_report
+ # We should not be stopped in the sanitizer library.
process = self.dbg.GetSelectedTarget().process
thread = process.GetSelectedThread()
frame = thread.GetSelectedFrame()
- self.assertIn("__tsan_on_report", frame.GetFunctionName())
+ self.assertIn("f2", frame.GetFunctionName())
# The stopped thread backtrace should contain either line1 or line2
# from main.c.
More information about the lldb-commits
mailing list