[PATCH] D17392: Embed bitcode in object file (clang cc1 part)

Steven Wu via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 1 15:35:09 PDT 2016


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

Address the feedback from Richard:
Break -fembed-bitcode option into multiple -fembed-bitcode= options.
-fembed-bitcode=all will embed both bitcode and commandline and 
-fembed-bitcode=bitcode will embed only the bitcode in the object file.


http://reviews.llvm.org/D17392

Files:
  include/clang/CodeGen/BackendUtil.h
  include/clang/Driver/Options.td
  include/clang/Frontend/CodeGenOptions.def
  include/clang/Frontend/CodeGenOptions.h
  lib/CodeGen/BackendUtil.cpp
  lib/CodeGen/CodeGenAction.cpp
  lib/Driver/Driver.cpp
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/Driver/embed-bitcode.c
  test/Frontend/embed-bitcode.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17392.52435.patch
Type: text/x-patch
Size: 17595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160401/acf37b0c/attachment-0001.bin>


More information about the cfe-commits mailing list