brintos

brintos / llvm-project-archived public Read only

0
0
Text · 260 B · 3e4a152 Raw
8 lines · c
1// Test to ensure -emit-llvm profile-sample-accurate is honored by clang.2// RUN: %clang -S -emit-llvm %s -fprofile-sample-accurate -o - | FileCheck %s3 4// CHECK: define{{.*}} void @foo()5// CHECK: attributes{{.*}} "profile-sample-accurate"6void foo(void) {7}8