[PATCH] D17392: Embed bitcode in object file (clang cc1 part)
Steven Wu via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 18 09:42:46 PST 2016
steven_wu created this revision.
steven_wu added a subscriber: cfe-commits.
steven_wu added a dependency: D17390: Introduce -fembed-bitcode driver option.
Teach clang to embed bitcode inside bitcode. When -fembed-bitcode cc1
option is used, clang will embed both the input bitcode and cc1
commandline into the bitcode in special sections before compiling to
the object file. Using -fembed-bitcode-marker will only introduce a
marker in both sections.
Depends on D17390
http://reviews.llvm.org/D17392
Files:
include/clang/CodeGen/BackendUtil.h
include/clang/Frontend/CodeGenOptions.def
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CodeGenAction.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/Frontend/embed-bitcode.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17392.48348.patch
Type: text/x-patch
Size: 11129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160218/4b3d3e3f/attachment-0001.bin>
More information about the cfe-commits
mailing list