1 // RUN: %clang_cc1 -pg -triple powerpc-ibm-aix7.2.0.0 -S -emit-llvm %s -o - | FileCheck %s
2 // RUN: %clang_cc1 -pg -triple powerpc64-ibm-aix7.2.0.0 -S -emit-llvm %s -o - | FileCheck %s -check-prefix=CHECK64
10 // CHECK: @[[GLOB0:[0-9]+]] = internal global i32 0
11 // CHECK: @[[GLOB1:[0-9]+]] = internal global i32 0
12 // CHECK64: @[[GLOB0:[0-9]+]] = internal global i64 0
13 // CHECK64: @[[GLOB1:[0-9]+]] = internal global i64 0
16 // CHECK-NEXT: call void @__mcount(ptr @[[GLOB0]])
17 // CHECK64-LABEL: @foo(
18 // CHECK64-NEXT: entry:
19 // CHECK64-NEXT: call void @__mcount(ptr @[[GLOB0]])
22 // CHECK-NEXT: call void @__mcount(ptr @[[GLOB1]])
23 // CHECK64-LABEL: @bar(
24 // CHECK64-NEXT: entry:
25 // CHECK64-NEXT: call void @__mcount(ptr @[[GLOB1]])