summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/merge-statics.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-06 01:42:25 +0000
committerChris Lattner <sabre@nondot.org>2008-02-06 01:42:25 +0000
commitb5eda6253b28dd2669bda220b455d05c5e99796a (patch)
tree71a848afaf9ee41fd8a32d5443d0cde19d569d7a /clang/test/CodeGen/merge-statics.c
parent182a9fd39f7a1faadef69a65818f98531de19a6d (diff)
downloadbcm5719-llvm-b5eda6253b28dd2669bda220b455d05c5e99796a.tar.gz
bcm5719-llvm-b5eda6253b28dd2669bda220b455d05c5e99796a.zip
pull .ll and .bc writing out of the ASTConsumer destructors into some top
level code in clang. This is a cleanup, but does implement "-o" for -emit-llvm. One effect of this is that "clang foo.c -emit-llvm" will now emit into foo.ll instead of stdout. Use "clang foo.c -emit-llvm -o -" or "clang < foo.c -emit-llvm" to get the old behavior. llvm-svn: 46791
Diffstat (limited to 'clang/test/CodeGen/merge-statics.c')
-rw-r--r--clang/test/CodeGen/merge-statics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/merge-statics.c b/clang/test/CodeGen/merge-statics.c
index 56fd7d4bb6a..1e0d6891221 100644
--- a/clang/test/CodeGen/merge-statics.c
+++ b/clang/test/CodeGen/merge-statics.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm | grep internal | count 1
+// RUN: clang < %s -emit-llvm | grep internal | count 1
// The two decls for 'a' should merge into one llvm GlobalVariable.
OpenPOWER on IntegriCloud