1 // Make sure ___asan_gen_* strings have the correct prefixes on Darwin
2 // ("L" in __TEXT,__cstring, "l" in __TEXT,__const
4 // RUN: %clang_asan %s -S -o %t.s
5 // RUN: cat %t.s | FileCheck %s || exit 1
7 // We test x86_64-specific peculiarities of ld on Darwin.
8 // REQUIRES: x86_64-target-arch
11 int main() { return 0; }
12 // CHECK: .section{{.*}}__TEXT,__const
13 // CHECK: l____asan_gen_
14 // CHECK: .section{{.*}}__TEXT,__cstring,cstring_literals
15 // CHECK: L____asan_gen_
16 // CHECK: L____asan_gen_
17 // CHECK: L____asan_gen_