[LLVMdev] Compressing with llvm-ar

Martinez, Javier E javier.e.martinez at intel.com
Thu Aug 9 09:25:02 PDT 2012


Hi,

I haven't seen any reply to this. Can someone please point me to the persons maintaining llvm-ar? I can direct my questions to them.

Thanks,
Javier

From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Martinez, Javier E
Sent: Monday, July 30, 2012 8:16 PM
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] Compressing with llvm-ar

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/20120809/6923df41/attachment.html>


More information about the llvm-dev mailing list