llvm.org GIT mirror llvm / 4d0cf69
Revert "Adding temporary debugging info to llvm-mt to solve fedora failure." This reverts commit 223ef99f839f6b056272bcf4390841fcb26dda3c. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308263 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Beckmann 2 years ago
2 changed file(s) with 1 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
None RUN: not llvm-mt /hello /nonsense
1
2 RUN: llvm-mt /h | FileCheck %s -check-prefix=HELP
31
42 RUN: llvm-mt /inputresource:foo.res /manifest foo.manifest | FileCheck %s -check-prefix=NOT_SUPPORTED
8181
8282 CvtResOptTable T;
8383 unsigned MAI, MAC;
84 ArrayRef ArgsArr = makeArrayRef(argv, argc);
84 ArrayRef ArgsArr = makeArrayRef(argv + 1, 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
9187 for (auto &Arg : InputArgs) {
92 errs() << "found option: " << Arg->getOption().getName() << "\n";
9388 if (Arg->getOption().matches(OPT_unsupported)) {
9489 outs() << "llvm-mt: ignoring unsupported '" << Arg->getOption().getName()
95 << "' option\n";
96 errs() << "llvm-mt: ignoring unsupported '" << Arg->getOption().getName()
9790 << "' option\n";
9891 }
9992 }