Author: Michael Buch Date: 2025-09-22T16:51:21-07:00 New Revision: f5ba88341e7c4f7427e33c8237c07c3c5f1e189c
URL: https://github.com/llvm/llvm-project/commit/f5ba88341e7c4f7427e33c8237c07c3c5f1e189c DIFF: https://github.com/llvm/llvm-project/commit/f5ba88341e7c4f7427e33c8237c07c3c5f1e189c.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. (cherry picked from commit bdf645bb9b509b60bdb6a71d865b4f8999187977) 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. _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
