[PATCH] D26690: [Driver] Infer the correct option to ld64 for -fembed-bitcode

Mehdi AMINI via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 15 13:20:10 PST 2016


mehdi_amini added inline comments.


================
Comment at: lib/Driver/Tools.cpp:8326
-  if (C.getDriver().embedBitcodeEnabled() ||
-      C.getDriver().embedBitcodeMarkerOnly()) {
-    // Check if the toolchain supports bitcode build flow.
----------------
Why aren't these tests returning true when LTO is enabled?
I'm not sure why this is not the part that should be fixed instead.


https://reviews.llvm.org/D26690





More information about the cfe-commits mailing list