commit | 12439ffbacccb4919a106602cfca62b7a39d07a1 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Feb 19 20:32:12 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Feb 19 20:32:12 2004 +0000 |
tree | 63eb105eea28ee7e08a0e975f126a8aa89f090ad | |
parent | b0bedfa4b2383667dbd63a2796800ae6884bb94e [diff] [blame] |
Make sure to print a stack trace whenever an error signal is delivered to the tool. llvm-svn: 11632
diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp index 9be5aff..4b66b78 100644 --- a/llvm/tools/llvm-as/llvm-as.cpp +++ b/llvm/tools/llvm-as/llvm-as.cpp
@@ -45,6 +45,7 @@ int main(int argc, char **argv) { cl::ParseCommandLineOptions(argc, argv, " llvm .ll -> .bc assembler\n"); + PrintStackTraceOnErrorSignal(); std::ostream *Out = 0; try {