1 // Make sure ___asan_gen_* strings have the correct prefixes on Darwin
2 // ("L" in __TEXT,__cstring, "l" in __TEXT,__const
3 
4 // RUN: %clang_asan %s -S -o %t.s
5 // RUN: cat %t.s | FileCheck %s || exit 1
6 
7 // UNSUPPORTED: ios
8 
9 int x, y, z;
main()10 int main() { return 0; }
11 // CHECK: .section{{.*}}__TEXT,__const
12 // CHECK: l____asan_gen_
13 // CHECK: .section{{.*}}__TEXT,__cstring,cstring_literals
14 // CHECK: L____asan_gen_
15 // CHECK: L____asan_gen_
16 // CHECK: L____asan_gen_
17