mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Add support to enable -lfoo to be processed correctly
llvm-svn: 1390
This commit is contained in:
parent
b0bd512e44
commit
9588b188db
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user