Add support to enable -lfoo to be processed correctly

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1390 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner committed 2001-11-26 19:18:30 +00:00
1 parent 75deac6b12
commit de3b862a18
2 files changed
+6 -2

No files matched your search

+3 -1
View File
@@ -54,7 +54,9 @@ static inline std::auto_ptr<Module> LoadFile(const string &FN) {
} }
int main(int argc, char **argv) { 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"); assert(InputFilenames.size() > 0 && "OneOrMore is not working");
unsigned BaseArg = 0; unsigned BaseArg = 0;
+3 -1
View File
@@ -54,7 +54,9 @@ static inline std::auto_ptr<Module> LoadFile(const string &FN) {
} }
int main(int argc, char **argv) { 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"); assert(InputFilenames.size() > 0 && "OneOrMore is not working");
unsigned BaseArg = 0; unsigned BaseArg = 0;