[compiler-rt] [compiler-rt] Expose TSAN report strings via __tsan_describe_{mop,loc,mutex,thread} (PR #200736)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 19:09:10 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 6572 tests passed
* 1292 tests skipped
* 3 tests failed

## Failed Tests
(click on a test name to see its output)

### ThreadSanitizer-Unit
<details>
<summary>ThreadSanitizer-Unit.unit/_/TsanUnitTest-x86_64-Test/Report/DescribeLocationHeap</summary>

```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/tsan/tests/unit/./TsanUnitTest-x86_64-Test --gtest_filter=Report.DescribeLocationHeap
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/tsan/tests/unit/tsan_report_test.cpp:81
Expected equality of these values:
  "  Location is heap block of size 16 at 0x4000 allocated by thread T3:"
  s.data()
    Which is: "  Location is heap block of size 16 at 0x000000004000 allocated by thread T3:"


```
</details>
<details>
<summary>ThreadSanitizer-Unit.unit/_/TsanUnitTest-x86_64-Test/Report/DescribeMop</summary>

```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/tsan/tests/unit/./TsanUnitTest-x86_64-Test --gtest_filter=Report.DescribeMop
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/tsan/tests/unit/tsan_report_test.cpp:37
Expected equality of these values:
  "  Write of size 4 at 0x1234 by thread T1"
  s.data()
    Which is: "  Write of size 4 at 0x000000001234 by thread T1"

/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/tsan/tests/unit/tsan_report_test.cpp:42
Expected equality of these values:
  "  Previous read of size 4 at 0x1234 by thread T1"
  s.data()
    Which is: "  Previous read of size 4 at 0x000000001234 by thread T1"

/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/tsan/tests/unit/tsan_report_test.cpp:49
Expected equality of these values:
  "  Atomic write of size 4 at 0x1234 by main thread"
  s.data()
    Which is: "  Atomic write of size 4 at 0x000000001234 by main thread"


```
</details>
<details>
<summary>ThreadSanitizer-Unit.unit/_/TsanUnitTest-x86_64-Test/Report/DescribeMutex</summary>

```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/tsan/tests/unit/./TsanUnitTest-x86_64-Test --gtest_filter=Report.DescribeMutex
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/tsan/tests/unit/tsan_report_test.cpp:110
Expected equality of these values:
  "  Mutex M5 (0xdead) created at:"
  s.data()
    Which is: "  Mutex M5 (0x00000000dead) created at:"


```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/200736


More information about the llvm-commits mailing list