[compiler-rt] [TSan][Test-Only][Darwin] Fix typo in external.cpp again (PR #165612)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 29 11:58:58 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Dan Blackwell (DanBlackwell)
<details>
<summary>Changes</summary>
In 2ecb748 I made an adjustment to the FileCheck for the external.cpp test; unfortunately I corrected both instances of read-only to Read-only when it should have just been the first.
This patch fixes it.
rdar://160818196
---
Full diff: https://github.com/llvm/llvm-project/pull/165612.diff
1 Files Affected:
- (modified) compiler-rt/test/tsan/Darwin/external.cpp (+1-1)
``````````diff
diff --git a/compiler-rt/test/tsan/Darwin/external.cpp b/compiler-rt/test/tsan/Darwin/external.cpp
index 8372a1eb125f3..bf189eb1d6b5b 100644
--- a/compiler-rt/test/tsan/Darwin/external.cpp
+++ b/compiler-rt/test/tsan/Darwin/external.cpp
@@ -70,7 +70,7 @@ int main(int argc, char *argv[]) {
// TEST3: WARNING: ThreadSanitizer: race on MyLibrary::MyObject
// TEST3: {{Modifying|Read-only}} access of MyLibrary::MyObject at
// TEST3: {{ObjectWrite|ObjectRead}}
- // TEST3: Previous {{modifying|Read-only}} access of MyLibrary::MyObject at
+ // TEST3: Previous {{modifying|read-only}} access of MyLibrary::MyObject at
// TEST3: {{ObjectWrite|ObjectRead}}
// TEST3: Location is MyLibrary::MyObject of size 16 at
// TEST3: {{ObjectCreate}}
``````````
</details>
https://github.com/llvm/llvm-project/pull/165612
More information about the llvm-commits
mailing list