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

Steven Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 15 17:12:10 PST 2016


steven_wu updated this revision to Diff 78111.
steven_wu added a comment.

Rename the functions to clarify the intention.
embedBitcodeEnabled means if any flag in -fembed-bitcode family is used so the
corresponding linker flag should be inferred. embedBitcodeInObject means if
the bitcode should be embedded in the object file which returns false for LTO.


https://reviews.llvm.org/D26690

Files:
  include/clang/Driver/Driver.h
  lib/Driver/Driver.cpp
  lib/Driver/Tools.cpp
  test/Driver/embed-bitcode.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26690.78111.patch
Type: text/x-patch
Size: 5860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161116/2e3655b1/attachment.bin>


More information about the cfe-commits mailing list