mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Adding temporary debugging info to llvm-mt to solve fedora failure.
llvm-svn: 308227
This commit is contained in:
parent
ca407a6bda
commit
be80143713
@ -82,13 +82,20 @@ int main(int argc, const char **argv) {
|
||||
|
||||
CvtResOptTable T;
|
||||
unsigned MAI, MAC;
|
||||
ArrayRef<const char *> ArgsArr = makeArrayRef(argv + 1, argc);
|
||||
ArrayRef<const char *> ArgsArr = makeArrayRef(argv, argc);
|
||||
opt::InputArgList InputArgs = T.ParseArgs(ArgsArr, MAI, MAC);
|
||||
|
||||
for (int i = 0; i < argc; i++ ) {
|
||||
errs() << argv[i] << "\n";
|
||||
}
|
||||
|
||||
for (auto &Arg : InputArgs) {
|
||||
errs() << "found option: " << Arg->getOption().getName() << "\n";
|
||||
if (Arg->getOption().matches(OPT_unsupported)) {
|
||||
outs() << "llvm-mt: ignoring unsupported '" << Arg->getOption().getName()
|
||||
<< "' option\n";
|
||||
errs() << "llvm-mt: ignoring unsupported '" << Arg->getOption().getName()
|
||||
<< "' option\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user