Skip to content

Conversation

@DanBlackwell
Copy link
Contributor

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

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
@llvmbot
Copy link
Member

llvmbot commented Oct 29, 2025

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: Dan Blackwell (DanBlackwell)

Changes

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

Copy link
Contributor

@ndrewh ndrewh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ndrewh ndrewh merged commit 8fdac32 into llvm:main Oct 29, 2025
14 checks passed
aokblast pushed a commit to aokblast/llvm-project that referenced this pull request Oct 30, 2025
DEBADRIBASAK pushed a commit to DEBADRIBASAK/llvm-project that referenced this pull request Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants