projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01671c3
)
clang-check: Introduce llvm::sys::PrintStackTraceOnErrorSignal()
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Fri, 18 Jan 2013 13:46:48 +0000
(13:46 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Fri, 18 Jan 2013 13:46:48 +0000
(13:46 +0000)
llvm-svn: 172818
clang/tools/clang-check/ClangCheck.cpp
patch
|
blob
|
history
diff --git
a/clang/tools/clang-check/ClangCheck.cpp
b/clang/tools/clang-check/ClangCheck.cpp
index
6f62228
..
bf43374
100644
(file)
--- a/
clang/tools/clang-check/ClangCheck.cpp
+++ b/
clang/tools/clang-check/ClangCheck.cpp
@@
-27,6
+27,7
@@
#include "clang/Tooling/Tooling.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Path.h"
+#include "llvm/Support/Signals.h"
using namespace clang::driver;
using namespace clang::tooling;
@@
-142,6
+143,7
@@
public:
}
int main(int argc, const char **argv) {
+ llvm::sys::PrintStackTraceOnErrorSignal();
CommonOptionsParser OptionsParser(argc, argv);
ClangTool Tool(OptionsParser.getCompilations(),
OptionsParser.getSourcePathList());