]> granicus.if.org Git - clang/commit
pull .ll and .bc writing out of the ASTConsumer destructors into some top
authorChris Lattner <sabre@nondot.org>
Wed, 6 Feb 2008 01:42:25 +0000 (01:42 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 6 Feb 2008 01:42:25 +0000 (01:42 +0000)
commite66b65c3a3377d487104f6adc071d054b0d9d343
tree67d4a45a5e3923148c69cad44a2e5e9c72e40513
parent862d5bbd90f6bdf18246f0e774d745e8c15cf31d
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46791 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/ASTConsumers.cpp
Driver/ASTConsumers.h
Driver/clang.cpp
test/CodeGen/bitfield.c
test/CodeGen/merge-statics.c
test/CodeGen/struct-x86-darwin.c
test/Lexer/11-27-2007-FloatLiterals.c