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 | 5bc51512998476bdd14a2cd854a54ba787d47894 (patch) | |
tree | 3f238464ba34ebd1b721416211b85200df82efd8 /clang/test/CodeGen/mcount.c | |
parent | 178e0160b7fc5b14c664c339d7f9b18fad8bdca8 (diff) | |
download | bcm5719-llvm-5bc51512998476bdd14a2cd854a54ba787d47894.tar.gz bcm5719-llvm-5bc51512998476bdd14a2cd854a54ba787d47894.zip |
Add a testcase for the mcount profiling.
llvm-svn: 125283
Diffstat (limited to 'clang/test/CodeGen/mcount.c')
-rw-r--r-- | clang/test/CodeGen/mcount.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGen/mcount.c b/clang/test/CodeGen/mcount.c new file mode 100644 index 00000000000..1cf3d6a0716 --- /dev/null +++ b/clang/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() +} |