diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2011-02-10 16:52:35 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2011-02-10 16:52:35 +0000 |
commit | 36e05ec7a3e6b3bf504c32c1093932fbe24a228c (patch) | |
tree | e6081ef0f7330b30c8bb35f20c57afc7db644640 | |
parent | be4c8705e499b55548467eb7adaa23cbc6edfef9 (diff) |
Add a testcase for the mcount profiling.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125283 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/mcount.c | 4 |
1 files changed, 4 insertions, 0 deletions
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() +} |