[cfe-dev] -emit-bc option

Sanghyeon Seo sanxiyn at gmail.com
Sun Dec 23 06:52:34 PST 2007


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.

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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: emit-bc.txt
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20071223/49cd49b4/attachment.txt>


More information about the cfe-dev mailing list