Skip to content

Commit d2d9f8e

Browse files
Michael137github-actions[bot]
authored andcommitted
Automerge: [lldb][test] TestTsanBasic.py: fix function name assertion
Since llvm/llvm-project#133079 we no longer stop in the stanitizer library when hitting a sanitizer breakpoint. Adjust the test accordingly.
2 parents e8e81d4 + bdf645b commit d2d9f8e

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)