diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-19 20:32:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-19 20:32:12 +0000 |
commit | f73b4ca7f9c5e4a19c3fba9fa0280768b4c64891 (patch) | |
tree | 500eafc4367fd83ce3566626321727aa6746a8da /tools/llvm-link | |
parent | 982774cbebd0280078ee5321ed638a266e79a597 (diff) |
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@11632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-link')
-rw-r--r-- | tools/llvm-link/llvm-link.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/llvm-link/llvm-link.cpp b/tools/llvm-link/llvm-link.cpp index 1b3dda790d..4fe8637482 100644 --- a/tools/llvm-link/llvm-link.cpp +++ b/tools/llvm-link/llvm-link.cpp @@ -84,6 +84,7 @@ static inline std::auto_ptr<Module> LoadFile(const std::string &FN) { int main(int argc, char **argv) { cl::ParseCommandLineOptions(argc, argv, " llvm linker\n"); + PrintStackTraceOnErrorSignal(); assert(InputFilenames.size() > 0 && "OneOrMore is not working"); unsigned BaseArg = 0; |