mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 09:31:03 +03:00
Make error message on assembler failure more informative (hopefully)
This commit is contained in:
parent
dc20834473
commit
cc12db505e
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ void assemble(const llvm::sys::Path& asmpath, const llvm::sys::Path& objpath)
|
||||||
gcc, &Args[0], 0, 0, 0, 0, &ErrMsg);
|
gcc, &Args[0], 0, 0, 0, 0, &ErrMsg);
|
||||||
if (R)
|
if (R)
|
||||||
{
|
{
|
||||||
error("failed to invoke gcc");
|
error("Failed to invoke gcc. %s", ErrMsg.c_str());
|
||||||
fatal();
|
fatal();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue