[PATCH] D17390: Introduce -fembed-bitcode driver option

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 29 11:48:21 PST 2016


thakis added a subscriber: thakis.
thakis added a comment.

I don't understand the changes to Driver.cpp lines 1760 and down. The rest looks good to me.


================
Comment at: lib/Driver/Driver.cpp:1761
@@ -1747,1 +1760,3 @@
+    const ActionList *BackendInputs =
+      (EmbedBitcode ? Inputs : &(*Inputs)[0]->getInputs());
     // Compile job may be wrapped in CudaHostAction, extract it if
----------------
Why is this change needed? If its needed, is the preceding comment out of date now?


http://reviews.llvm.org/D17390





More information about the cfe-commits mailing list