commit | 8d72ee0a32ddc8321b810296ed887ce4ed99ddb0 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Feb 06 01:42:25 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Feb 06 01:42:25 2008 +0000 |
tree | 67d4a45a5e3923148c69cad44a2e5e9c72e40513 | |
parent | 13f315650e9d1858e3d44cb0f8948893fc1a5b45 [diff] |
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