diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-19 20:32:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-19 20:32:39 +0000 |
commit | 364d1203e7adaededf3c01f58bd968ee61f4a316 (patch) | |
tree | caeb85f613a14b74669c85428fee9349bdef8256 /tools/gccas | |
parent | f73b4ca7f9c5e4a19c3fba9fa0280768b4c64891 (diff) | |
download | external_llvm-364d1203e7adaededf3c01f58bd968ee61f4a316.zip external_llvm-364d1203e7adaededf3c01f58bd968ee61f4a316.tar.gz external_llvm-364d1203e7adaededf3c01f58bd968ee61f4a316.tar.bz2 |
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
Diffstat (limited to 'tools/gccas')
-rw-r--r-- | tools/gccas/gccas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<Module> M; try { |