clang/test/CodeGen/mcount-aix.c
raw| 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 | |
| 4 | void foo() { |
| 5 | // CHECK: define void @foo() #0 { |
| 6 | } |
| 7 | |
| 8 | void bar() { |
| 9 | // CHECK: define void @bar() #0 { |
| 10 | foo(); |
| 11 | } |
| 12 | |
| 13 | // CHECK: attributes #0 = { {{.*}}"instrument-function-entry-inlined"="__mcount" |