[compiler-rt] [TSan][Test-Only][Darwin] Fix typo in external.cpp again (PR #165612)

Dan Blackwell via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 29 11:58:27 PDT 2025


https://github.com/DanBlackwell created https://github.com/llvm/llvm-project/pull/165612

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

>From a2b78963e69b221de198884a999a61f86357b7e4 Mon Sep 17 00:00:00 2001
From: Dan Blackwell <dan_blackwell at apple.com>
Date: Wed, 29 Oct 2025 18:54:28 +0000
Subject: [PATCH] [TSan][Test-Only][Darwin] Fix typo in external.cpp again

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
---
 compiler-rt/test/tsan/Darwin/external.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}}



More information about the llvm-commits mailing list