[LLVMdev] Compressing with llvm-ar

Martinez, Javier E javier.e.martinez at intel.com
Mon Jul 30 20:15:48 PDT 2012


Hello,

The documentation for llvm-ar says that option 'z' is used to compressed a file before archiving it. I did some tests with different input files (text and LLVM bitcode) and found the archive to be about the same size as the input. When debugging I found that the compressed flag gets passed to several calls and eventually makes it to Archive::writeMember() but this function doesn't do anything with it.

Is compression working with llvm-ar? Can someone provide an example of how to use it? My command line looks something like llvm-ar rcz [archive_name] [input_file]

Thanks,
Javier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120731/24fb009d/attachment.html>


More information about the llvm-dev mailing list