brintos

brintos / llvm-project-archived public Read only

0
0
Text · 626 B · 49c361a Raw
16 lines · c
1// RUN: %clang_cc1 -triple x86_64-darwin-apple -debug-info-kind=limited \2// RUN:   %s -emit-llvm -o -  | FileCheck %s3void 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 line11// number between file and type.12 13// CHECK: distinct !DISubprogram(linkageName: "__os_log_helper_1_0_1_4_0",14// CHECK-SAME:                   file: !{{.*}}, type15// CHECK-SAME:                   flags: DIFlagArtificial16