forked from OSchip/llvm-project
Add support to enable -lfoo to be processed correctly
llvm-svn: 1390
This commit is contained in:
parent
b89a7e72fb
commit
3d9510ccc8
|
@ -54,7 +54,9 @@ static inline std::auto_ptr<Module> LoadFile(const string &FN) {
|
|||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm linker\n");
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm linker\n",
|
||||
cl::EnableSingleLetterArgValue |
|
||||
cl::DisableSingleLetterArgGrouping);
|
||||
assert(InputFilenames.size() > 0 && "OneOrMore is not working");
|
||||
|
||||
unsigned BaseArg = 0;
|
||||
|
|
|
@ -54,7 +54,9 @@ static inline std::auto_ptr<Module> LoadFile(const string &FN) {
|
|||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm linker\n");
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm linker\n",
|
||||
cl::EnableSingleLetterArgValue |
|
||||
cl::DisableSingleLetterArgGrouping);
|
||||
assert(InputFilenames.size() > 0 && "OneOrMore is not working");
|
||||
|
||||
unsigned BaseArg = 0;
|
||||
|
|
Loading…
Reference in New Issue