Make error message on assembler failure more informative (hopefully)

This commit is contained in:
Frits van Bommel 2009-03-08 11:46:55 +01:00
parent dc20834473
commit cc12db505e

View file

@ -362,7 +362,7 @@ void assemble(const llvm::sys::Path& asmpath, const llvm::sys::Path& objpath)
gcc, &Args[0], 0, 0, 0, 0, &ErrMsg);
if (R)
{
error("failed to invoke gcc");
error("Failed to invoke gcc. %s", ErrMsg.c_str());
fatal();
}
}