Skip to content

Commit f5ba883

Browse files
Michael137tstellar
authored andcommitted
[lldb][test] TestTsanBasic.py: fix function name assertion
Since llvm#133079 we no longer stop in the stanitizer library when hitting a sanitizer breakpoint. Adjust the test accordingly. (cherry picked from commit bdf645b)
1 parent faedeb1 commit f5ba883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ def tsan_tests(self):
6363
substrs=["1 match found"],
6464
)
6565

66-
# We should be stopped in __tsan_on_report
66+
# We should not be stopped in the sanitizer library.
6767
process = self.dbg.GetSelectedTarget().process
6868
thread = process.GetSelectedThread()
6969
frame = thread.GetSelectedFrame()
70-
self.assertIn("__tsan_on_report", frame.GetFunctionName())
70+
self.assertIn("f2", frame.GetFunctionName())
7171

7272
# The stopped thread backtrace should contain either line1 or line2
7373
# from main.c.

0 commit comments

Comments
 (0)