forked from OSchip/llvm-project
parent
953b8d1f15
commit
7b57404dea
|
@ -601,14 +601,9 @@ void Driver::BuildUniversalActions(const ArgList &Args,
|
||||||
Arg *A = *it;
|
Arg *A = *it;
|
||||||
|
|
||||||
if (A->getOption().getId() == options::OPT_arch) {
|
if (A->getOption().getId() == options::OPT_arch) {
|
||||||
const char *Name = A->getValue(Args);
|
|
||||||
|
|
||||||
// FIXME: We need to handle canonicalization of the specified
|
|
||||||
// arch?
|
|
||||||
|
|
||||||
A->claim();
|
A->claim();
|
||||||
if (ArchNames.insert(Name))
|
if (ArchNames.insert(A->getValue(Args)))
|
||||||
Archs.push_back(Name);
|
Archs.push_back(A->getValue(Args));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue