[cfe-dev] -emit-bc option

Chris Lattner clattner at apple.com
Sun Dec 23 11:07:01 PST 2007

On Dec 23, 2007, at 6:52 AM, Sanghyeon Seo wrote:
> Attached patch implements -emit-bc option, linking LLVM bitcode writer
> directly to clang so that one can produce LLVM bitcode without going
> through llvm-as.

Looks good to me, please name it -emit-llvm-bc though, to match llvm- 
gcc.  Thanks!


> If output file is given, bitcode is written to the file. If output
> file is not given, the extension is replaced by .bc.
> This patch was done mainly by copying similar codes around the
> codebase. Please review.
> -- 
> Seo Sanghyeon
> <emit-bc.txt>_______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

More information about the cfe-dev mailing list