r241620 - Wrap clang modules and pch files in an object file container.

Adrian Prantl aprantl at apple.com
Wed Jul 15 13:11:33 PDT 2015


> On Jul 15, 2015, at 1:04 PM, Reid Kleckner <rnk at google.com> wrote:
> 
> On Tue, Jul 7, 2015 at 2:01 PM, Benjamin Kramer <benny.kra at gmail.com <mailto:benny.kra at gmail.com>> wrote:
> Going through the entire compiler stack (IR, selectiondag, ...) just to dump some bytes in an object files seems excessive. Can't you just drive MC directly? This would 
> 
> Has something been done to address this? All the semantic tools (libclang, tooling, clang-check, clang-tidy) should *not* have to depend on clang codegen. 

The only reason why libclang currently depends on CodeGen is because of CIndex and we can remove this dependency once the patch implementing the -fmodule-format=raw option is in.

-- adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150715/85c4c74b/attachment.html>


More information about the cfe-commits mailing list