[LLVMdev] RFC: Adding an option to llvm-link to allow it to get a list of input bitcode file names from a file

Liu, Yaxun (Sam) Yaxun.Liu at amd.com
Thu Sep 13 09:50:59 PDT 2012


I am proposing to add an option to llvm-link allow it to get a list of input bitcode file names from a file.

The reason is that there is a limitation for command line length which limits the number of input bitcode files that can be passed to llvm-link. By adding this option we can bypass such limitation.

The name of the option can be discussed. My initial proposal would be -input-file-list.

Each line of the list file is a path to an input bitcode file.

If this option is given, no input bitcode file names are allowed in the command line. If input bitcode file names are given in the command line, this option is not allowed.

The implementation is simple. Only llvm-link.cpp is affected.

Thanks.

Sam Liu

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


More information about the llvm-dev mailing list