1 // RUN: %clang_cc1 -triple x86_64-darwin-apple -debug-info-kind=limited \
2 // RUN:   %s -emit-llvm -o -  | FileCheck %s
test_builtin_os_log(void * buf,int i,const char * data)3 void test_builtin_os_log(void *buf, int i, const char *data) {
4   __builtin_os_log_format(buf, "%d", i);
5 }
6 
7 // CHECK: define linkonce_odr {{.*}}@__os_log_helper_1_0_1_4_0(
8 // CHECK-SAME:   !dbg ![[OS_LOG_HELPER:[0-9]+]]
9 
10 // This helper is going to be uniqued, so it should not have a line
11 // number between file and type.
12 
13 // CHECK: distinct !DISubprogram(name: "__os_log_helper_1_0_1_4_0",
14 // CHECK-SAME:                   file: !{{[0-9+]}}, type
15 // CHECK-SAME:                   flags: DIFlagArtificial
16