[compiler-rt] Revert "Speculative fix for asan/TestCases/Darwin/cstring_section.c" (PR #105600)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 17:47:50 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Vitaly Buka (vitalybuka)
<details>
<summary>Changes</summary>
This fix is not enough, and the breaking patch was reverted with 2704b804bec50c2b016bf678bd534c330ec655b6.
This reverts commit bf71c64839c0082e761a4f070ed92e01ced0187c.
---
Full diff: https://github.com/llvm/llvm-project/pull/105600.diff
1 Files Affected:
- (modified) compiler-rt/test/asan/TestCases/Darwin/cstring_section.c (+2-2)
``````````diff
diff --git a/compiler-rt/test/asan/TestCases/Darwin/cstring_section.c b/compiler-rt/test/asan/TestCases/Darwin/cstring_section.c
index e40c4b1b8ed6ba..d72b0ba8a8bb33 100644
--- a/compiler-rt/test/asan/TestCases/Darwin/cstring_section.c
+++ b/compiler-rt/test/asan/TestCases/Darwin/cstring_section.c
@@ -6,10 +6,10 @@
// Check that "Hello.\n" is in __asan_cstring and not in __cstring.
// CHECK: Contents of section {{.*}}__asan_cstring:
// CHECK: 48656c6c {{.*}} Hello.
-// CHECK: Contents of section {{.*}}__cstring:
-// CHECK-NOT: 48656c6c {{.*}} Hello.
// CHECK: Contents of section {{.*}}__const:
// CHECK-NOT: 48656c6c {{.*}} Hello.
+// CHECK: Contents of section {{.*}}__cstring:
+// CHECK-NOT: 48656c6c {{.*}} Hello.
int main(int argc, char *argv[]) {
argv[0] = "Hello.\n";
``````````
</details>
https://github.com/llvm/llvm-project/pull/105600
More information about the llvm-commits
mailing list