summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/mcount.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-05-11 18:26:10 +0000
committerdim <dim@FreeBSD.org>2014-05-11 18:26:10 +0000
commit88f7a7d5251a2d813460274c92decc143a11569b (patch)
treec89fa0adefb99f464eba263b447f84c2ceb663ce /test/CodeGen/mcount.c
parentfcddf668e724f57e5d75dc641bba534c6a21cd0d (diff)
downloadFreeBSD-src-88f7a7d5251a2d813460274c92decc143a11569b.zip
FreeBSD-src-88f7a7d5251a2d813460274c92decc143a11569b.tar.gz
Vendor import of clang RELEASE_34/dot1-final tag r208032 (effectively, 3.4.1 release):
https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_34/dot1-final@208032
Diffstat (limited to 'test/CodeGen/mcount.c')
-rw-r--r--test/CodeGen/mcount.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/mcount.c b/test/CodeGen/mcount.c
index 1cf3d6a..5c608bc 100644
--- a/test/CodeGen/mcount.c
+++ b/test/CodeGen/mcount.c
@@ -1,4 +1,8 @@
// RUN: %clang_cc1 -pg -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -pg -triple powerpc-unknown-gnu-linux -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-PPC %s
+// RUN: %clang_cc1 -pg -triple powerpc64-unknown-gnu-linux -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-PPC %s
+// RUN: %clang_cc1 -pg -triple powerpc64le-unknown-gnu-linux -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-PPC %s
void foo(void) {
// CHECK: call void @mcount()
+// CHECK-PPC: call void @_mcount()
}
OpenPOWER on IntegriCloud