xref: /llvm-project/clang/test/CodeGen/mcount-aix.c (revision cab81dd03813ac6333ad7fc031d72b84341fe2b9)
1 // RUN: %clang_cc1 -disable-llvm-passes -pg -triple powerpc-ibm-aix7.2.0.0 -emit-llvm %s -o - | FileCheck %s
2 // RUN: %clang_cc1 -disable-llvm-passes -pg -triple powerpc64-ibm-aix7.2.0.0 -emit-llvm %s -o - | FileCheck %s
3 
foo()4 void foo() {
5 // CHECK: define void @foo() #0 {
6 }
7 
bar()8 void bar() {
9 // CHECK: define void @bar() #0 {
10     foo();
11 }
12 
13 // CHECK: attributes #0 = { {{.*}}"instrument-function-entry-inlined"="__mcount"
14