Embedded Bitcode in Object Files

Steven Wu via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 29 11:08:06 PST 2016


Ping. I don't know who is the best review for the patches. Thanks for Rafael looking at the LLVM change. Richard, do you have any opinions on the clang changes?

Thanks

Steven

> On Feb 18, 2016, at 9:57 AM, Steven Wu <stevenwu at apple.com> wrote:
> 
> Hi all
> 
> I put up some patches for embedding bitcode inside the object file (-fembed-bitcode) option. As I described in the dev list before, the new option can create normal object file with bitcode embedded in a special section. You can easily recreate the same object file with the embedded bitcode in it.
> 
> I split the patch into several parts:
> llvm patch:
> http://reviews.llvm.org/D17388: Introduce the section for embedding bitcode in MachO file.
> 
> There are four clang patches:
> http://reviews.llvm.org/D17390: Implementing the clang driver for the new option.
> http://reviews.llvm.org/D17392: Teach clang how to embed bitcode into the object file.
> http://reviews.llvm.org/D17393: Slightly tweak the bitcode emitted in embed bitcode stage 1.
> http://reviews.llvm.org/D17394: Reduce the amount of option gets embedded in the bitcode by introducing a whitelist and a blacklist.
> 
> Let me know if anyone is interested in helping reviewing these changes.
> 
> Thanks
> 
> Steven
> 
> 
> 



More information about the llvm-commits mailing list