Home | History | Annotate | Download | only in Darwin
      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 int x, y, z;
      8 int main() { return 0; }
      9 // CHECK: .section{{.*}}__TEXT,__const
     10 // CHECK: l___asan_gen_
     11 // CHECK: .section{{.*}}__TEXT,__cstring,cstring_literals
     12 // CHECK: L___asan_gen_
     13 // CHECK: L___asan_gen_
     14 // CHECK: L___asan_gen_
     15