From 36e05ec7a3e6b3bf504c32c1093932fbe24a228c Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Thu, 10 Feb 2011 16:52:35 +0000 Subject: [PATCH] Add a testcase for the mcount profiling. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125283 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/mcount.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/CodeGen/mcount.c diff --git a/test/CodeGen/mcount.c b/test/CodeGen/mcount.c new file mode 100644 index 0000000000..1cf3d6a071 --- /dev/null +++ b/test/CodeGen/mcount.c @@ -0,0 +1,4 @@ +// RUN: %clang_cc1 -pg -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck %s +void foo(void) { +// CHECK: call void @mcount() +} -- 2.50.1