diff options
| author | Hans Wennborg <hans@chromium.org> | 2024-08-21 16:28:25 +0200 |
|---|---|---|
| committer | Hans Wennborg <hans@chromium.org> | 2024-08-21 16:29:44 +0200 |
| commit | bf71c64839c0082e761a4f070ed92e01ced0187c (patch) | |
| tree | bc05e178a5b01f10be41d6bf0b88c7ba4c237cd3 | |
| parent | 32c38dd85ee27fc7c2dd6a749fc1f7af4abdbea1 (diff) | |
| download | llvm-bf71c64839c0082e761a4f070ed92e01ced0187c.zip llvm-bf71c64839c0082e761a4f070ed92e01ced0187c.tar.gz llvm-bf71c64839c0082e761a4f070ed92e01ced0187c.tar.bz2 | |
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.
| -rw-r--r-- | compiler-rt/test/asan/TestCases/Darwin/cstring_section.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/asan/TestCases/Darwin/cstring_section.c b/compiler-rt/test/asan/TestCases/Darwin/cstring_section.c index d72b0ba..e40c4b1 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 {{.*}}__const: -// CHECK-NOT: 48656c6c {{.*}} Hello. // CHECK: Contents of section {{.*}}__cstring: // CHECK-NOT: 48656c6c {{.*}} Hello. +// CHECK: Contents of section {{.*}}__const: +// CHECK-NOT: 48656c6c {{.*}} Hello. int main(int argc, char *argv[]) { argv[0] = "Hello.\n"; |
