summaryrefslogtreecommitdiffstats
path: root/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/KillTheDoctor/KillTheDoctor.cpp')
-rw-r--r--llvm/utils/KillTheDoctor/KillTheDoctor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/KillTheDoctor/KillTheDoctor.cpp b/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
index 6c2242aafdf..180b42ff5b6 100644
--- a/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
+++ b/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
@@ -296,7 +296,7 @@ static StringRef ExceptionCodeToString(DWORD ExceptionCode) {
int main(int argc, char **argv) {
// Print a stack trace if we signal out.
- sys::PrintStackTraceOnErrorSignal();
+ sys::PrintStackTraceOnErrorSignal(argv[0]);
PrettyStackTraceProgram X(argc, argv);
llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.
OpenPOWER on IntegriCloud