We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 820396c commit 0534c4fCopy full SHA for 0534c4f
compiler-rt/test/asan/TestCases/Darwin/cstring_section.c
@@ -1,15 +1,11 @@
1
// Test that AddressSanitizer moves constant strings into a separate section.
2
3
// RUN: %clang_asan -c -o %t %s
4
-// RUN: llvm-objdump -s %t | FileCheck %s
+// RUN: llvm-objdump -s %t | FileCheck %s --implicit-check-not="Hello."
5
6
// Check that "Hello.\n" is in __asan_cstring and not in __cstring.
7
// CHECK: Contents of section {{.*}}__asan_cstring:
8
-// CHECK: 48656c6c {{.*}} Hello.
9
-// CHECK: Contents of section {{.*}}__const:
10
-// CHECK-NOT: 48656c6c {{.*}} Hello.
11
-// CHECK: Contents of section {{.*}}__cstring:
12
+// CHECK-NEXT: 48656c6c {{.*}} Hello.
13
14
int main(int argc, char *argv[]) {
15
argv[0] = "Hello.\n";
0 commit comments