Remove code to fall back to llvm-gcc for i386 kexts.

More cleanups to follow in separate commits....

llvm-svn: 167566
This commit is contained in:
Bob Wilson
2012-11-08 01:03:29 +00:00
parent a1edff0046
commit d0de8ceb57
5 changed files with 3 additions and 86 deletions

View File

@@ -49,11 +49,6 @@ clang::createInvocationFromCommandLine(ArrayRef<const char *> ArgList,
// FIXME: We shouldn't have to pass in the path info.
driver::Driver TheDriver("clang", llvm::sys::getDefaultTargetTriple(),
"a.out", false, *Diags);
// Force driver to use clang.
// FIXME: This seems like a hack. Maybe the "Clang" tool subclass should be
// available for using it to get the arguments, thus avoiding the overkill
// of using the driver.
TheDriver.setForcedClangUse();
// Don't check that inputs exist, they may have been remapped.
TheDriver.setCheckInputsExist(false);