mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 19:26:06 +00:00
Adding temporary debugging info to llvm-mt to solve fedora failure.
llvm-svn: 308227
This commit is contained in:
parent
e15855d9e3
commit
4bf5dac62c
@ -82,13 +82,20 @@ int main(int argc, const char **argv) {
|
|||||||
|
|
||||||
CvtResOptTable T;
|
CvtResOptTable T;
|
||||||
unsigned MAI, MAC;
|
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);
|
opt::InputArgList InputArgs = T.ParseArgs(ArgsArr, MAI, MAC);
|
||||||
|
|
||||||
|
for (int i = 0; i < argc; i++ ) {
|
||||||
|
errs() << argv[i] << "\n";
|
||||||
|
}
|
||||||
|
|
||||||
for (auto &Arg : InputArgs) {
|
for (auto &Arg : InputArgs) {
|
||||||
|
errs() << "found option: " << Arg->getOption().getName() << "\n";
|
||||||
if (Arg->getOption().matches(OPT_unsupported)) {
|
if (Arg->getOption().matches(OPT_unsupported)) {
|
||||||
outs() << "llvm-mt: ignoring unsupported '" << Arg->getOption().getName()
|
outs() << "llvm-mt: ignoring unsupported '" << Arg->getOption().getName()
|
||||||
<< "' option\n";
|
<< "' option\n";
|
||||||
|
errs() << "llvm-mt: ignoring unsupported '" << Arg->getOption().getName()
|
||||||
|
<< "' option\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user