From 364d1203e7adaededf3c01f58bd968ee61f4a316 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 19 Feb 2004 20:32:39 +0000 Subject: Make sure to print a stack trace whenever an error signal is delivered to the tool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11633 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/gccas/gccas.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/gccas') diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 1abf251..7b5018a 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -107,6 +107,7 @@ void AddConfiguredTransformationPasses(PassManager &PM) { int main(int argc, char **argv) { cl::ParseCommandLineOptions(argc, argv, " llvm .s -> .o assembler for GCC\n"); + PrintStackTraceOnErrorSignal(); std::auto_ptr M; try { -- cgit v1.1