[LLVMdev] RFC: Adding an option to llvm-link to allow it to get a list of input bitcode file names from a file
Micah.Villmow at amd.com
Thu Sep 13 09:53:59 PDT 2012
Why is there a restriction on the usage between command line and input file? It seems that they both should be able to co-exist and the resulting linking is done as a set of all the bitcode files.
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Liu, Yaxun (Sam)
Sent: Thursday, September 13, 2012 9:51 AM
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] RFC: Adding an option to llvm-link to allow it to get a list of input bitcode file names from a file
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev