summaryrefslogtreecommitdiff
path: root/tools/llc/llc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llc/llc.cpp')
-rw-r--r--tools/llc/llc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 959bdbe36c..3176b4ce74 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -69,7 +69,8 @@ GetFileNameRoot(const std::string &InputFilename)
//
int main(int argc, char **argv) {
cl::ParseCommandLineOptions(argc, argv, " llvm system compiler\n");
-
+ PrintStackTraceOnErrorSignal();
+
// Load the module to be compiled...
std::auto_ptr<Module> M(ParseBytecodeFile(InputFilename));
if (M.get() == 0) {