aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-ar/llvm-ar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-ar/llvm-ar.cpp')
-rw-r--r--tools/llvm-ar/llvm-ar.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp
index 2404288..030ffe4 100644
--- a/tools/llvm-ar/llvm-ar.cpp
+++ b/tools/llvm-ar/llvm-ar.cpp
@@ -15,6 +15,7 @@
#include "llvm/Bytecode/Reader.h"
#include "Support/CommandLine.h"
#include "Support/FileUtilities.h"
+#include "Support/Signals.h"
#include <string>
#include <fstream>
#include <cstdio>
@@ -544,9 +545,9 @@ void parseCL() {
}
int main(int argc, char **argv) {
-
- //Parse Command line options
cl::ParseCommandLineOptions(argc, argv);
+ PrintStackTraceOnErrorSignal();
+
parseCL();
//Create archive!