aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/mcount-aix.c
blob: 275af35bcce206f5d66f62cac817be743046c23d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -disable-llvm-passes -pg -triple powerpc-ibm-aix7.2.0.0 -emit-llvm %s -o - | FileCheck %s
// RUN: %clang_cc1 -disable-llvm-passes -pg -triple powerpc64-ibm-aix7.2.0.0 -emit-llvm %s -o - | FileCheck %s

void foo() {
// CHECK: define void @foo() #0 {
}

void bar() {
// CHECK: define void @bar() #0 {
    foo();
}

// CHECK: attributes #0 = { {{.*}}"instrument-function-entry-inlined"="__mcount"