[PATCH] D17390: Introduce -fembed-bitcode driver option
Steven Wu via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 29 15:46:53 PST 2016
steven_wu updated this revision to Diff 49431.
steven_wu added a comment.
Make selectToolForJob logic better and less disruptive for -fembed-bitcode.
When -fembed-bitcode is used, the same old logic is used to decide if
CompileJob and BackendJob can be combined with an extra requirement for
-fembed-bitcode. The old logic was there to work around the Fortran input
which invokes gcc to compile. -fembed-bitcode requires CompileJob and BackendJob
to be the same (and can emit IR) so it can be splited between these two stages.
http://reviews.llvm.org/D17390
Files:
include/clang/Basic/DiagnosticDriverKinds.td
include/clang/Driver/Driver.h
include/clang/Driver/Options.td
include/clang/Driver/ToolChain.h
lib/Driver/Driver.cpp
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
lib/Driver/Tools.cpp
test/Driver/embed-bitcode.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17390.49431.patch
Type: text/x-patch
Size: 11561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160229/1db1d9df/attachment-0001.bin>
More information about the cfe-commits
mailing list