llvm.org GIT mirror llvm / f056d57
Adding temporary debugging info to llvm-mt to solve fedora failure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308227 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Beckmann 2 years ago
1 changed file(s) with 8 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8181
8282 CvtResOptTable T;
8383 unsigned MAI, MAC;
84 ArrayRef ArgsArr = makeArrayRef(argv + 1, argc);
84 ArrayRef ArgsArr = makeArrayRef(argv, argc);
8585 opt::InputArgList InputArgs = T.ParseArgs(ArgsArr, MAI, MAC);
8686
87 for (int i = 0; i < argc; i++ ) {
88 errs() << argv[i] << "\n";
89 }
90
8791 for (auto &Arg : InputArgs) {
92 errs() << "found option: " << Arg->getOption().getName() << "\n";
8893 if (Arg->getOption().matches(OPT_unsupported)) {
8994 outs() << "llvm-mt: ignoring unsupported '" << Arg->getOption().getName()
95 << "' option\n";
96 errs() << "llvm-mt: ignoring unsupported '" << Arg->getOption().getName()
9097 << "' option\n";
9198 }
9299 }