Skip to content

Commit bf71c64

Browse files
committed
Speculative fix for asan/TestCases/Darwin/cstring_section.c
It's been failing since https://green.lab.llvm.org/job/llvm.org/job/clang-stage1-RA/1812 It seems __TEXT,__cstring now comes before __TEXT,__const.
1 parent 32c38dd commit bf71c64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/test/asan/TestCases/Darwin/cstring_section.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
// Check that "Hello.\n" is in __asan_cstring and not in __cstring.
77
// CHECK: Contents of section {{.*}}__asan_cstring:
88
// CHECK: 48656c6c {{.*}} Hello.
9-
// CHECK: Contents of section {{.*}}__const:
10-
// CHECK-NOT: 48656c6c {{.*}} Hello.
119
// CHECK: Contents of section {{.*}}__cstring:
1210
// CHECK-NOT: 48656c6c {{.*}} Hello.
11+
// CHECK: Contents of section {{.*}}__const:
12+
// CHECK-NOT: 48656c6c {{.*}} Hello.
1313

1414
int main(int argc, char *argv[]) {
1515
argv[0] = "Hello.\n";

0 commit comments

Comments
 (0)