diff options
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r-- | tools/opt/opt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index d032e24ccd..35874b2ed7 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -72,6 +72,7 @@ QuietA("quiet", cl::desc("Alias for -q"), cl::aliasopt(Quiet)); int main(int argc, char **argv) { cl::ParseCommandLineOptions(argc, argv, " llvm .bc -> .bc modular optimizer\n"); + PrintStackTraceOnErrorSignal(); // Allocate a full target machine description only if necessary... // FIXME: The choice of target should be controllable on the command line. |