| commit | 5bc51512998476bdd14a2cd854a54ba787d47894 | [log] [tgz] |
|---|---|---|
| author | Roman Divacky <rdivacky@freebsd.org> | Thu Feb 10 16:52:35 2011 +0000 |
| committer | Roman Divacky <rdivacky@freebsd.org> | Thu Feb 10 16:52:35 2011 +0000 |
| tree | 3f238464ba34ebd1b721416211b85200df82efd8 | |
| parent | 178e0160b7fc5b14c664c339d7f9b18fad8bdca8 [diff] [blame] |
Add a testcase for the mcount profiling. llvm-svn: 125283
diff --git a/clang/test/CodeGen/mcount.c b/clang/test/CodeGen/mcount.c new file mode 100644 index 0000000..1cf3d6a --- /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() +}