[compiler-rt] e2b97f3 - Revert "Speculative fix for asan/TestCases/Darwin/cstring_section.c"
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 17:47:57 PDT 2024
Author: Vitaly Buka
Date: 2024-08-21T17:44:05-07:00
New Revision: e2b97f3802ac5a75a603c9cacd2f3ab19b6cf9b5
URL: https://github.com/llvm/llvm-project/commit/e2b97f3802ac5a75a603c9cacd2f3ab19b6cf9b5
DIFF: https://github.com/llvm/llvm-project/commit/e2b97f3802ac5a75a603c9cacd2f3ab19b6cf9b5.diff
LOG: Revert "Speculative fix for asan/TestCases/Darwin/cstring_section.c"
This fix is not enough, and the breaking patch was reverted with 2704b804bec50c2b016bf678bd534c330ec655b6.
This reverts commit bf71c64839c0082e761a4f070ed92e01ced0187c.
Added:
Modified:
compiler-rt/test/asan/TestCases/Darwin/cstring_section.c
Removed:
################################################################################
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";
More information about the llvm-commits
mailing list