From: Roman Divacky Date: Thu, 10 Feb 2011 16:52:35 +0000 (+0000) Subject: Add a testcase for the mcount profiling. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36e05ec7a3e6b3bf504c32c1093932fbe24a228c;p=clang Add a testcase for the mcount profiling. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125283 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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() +}