Update to match LLVM r272232.

llvm-svn: 272234
This commit is contained in:
Richard Smith 2016-06-09 00:54:16 +00:00
parent dfed58a527
commit 98520e7019

View File

@ -96,7 +96,7 @@ static Flavor parseFlavor(std::vector<const char *> &V) {
/// windows linker based on the argv[0] or -flavor option.
int main(int Argc, const char **Argv) {
// Standard set up, so program fails gracefully.
sys::PrintStackTraceOnErrorSignal();
sys::PrintStackTraceOnErrorSignal(Argv[0]);
PrettyStackTraceProgram StackPrinter(Argc, Argv);
llvm_shutdown_obj Shutdown;