[clang-tools-extra] r272235 - Update to match LLVM r272232.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 8 17:54:43 PDT 2016
Author: rsmith
Date: Wed Jun 8 19:54:42 2016
New Revision: 272235
URL: http://llvm.org/viewvc/llvm-project?rev=272235&view=rev
Log:
Update to match LLVM r272232.
Modified:
clang-tools-extra/trunk/clang-query/tool/ClangQuery.cpp
clang-tools-extra/trunk/tool-template/ToolTemplate.cpp
Modified: clang-tools-extra/trunk/clang-query/tool/ClangQuery.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-query/tool/ClangQuery.cpp?rev=272235&r1=272234&r2=272235&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-query/tool/ClangQuery.cpp (original)
+++ clang-tools-extra/trunk/clang-query/tool/ClangQuery.cpp Wed Jun 8 19:54:42 2016
@@ -59,7 +59,7 @@ static cl::list<std::string> CommandFile
cl::cat(ClangQueryCategory));
int main(int argc, const char **argv) {
- llvm::sys::PrintStackTraceOnErrorSignal();
+ llvm::sys::PrintStackTraceOnErrorSignal(argv[0]);
CommonOptionsParser OptionsParser(argc, argv, ClangQueryCategory);
Modified: clang-tools-extra/trunk/tool-template/ToolTemplate.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/tool-template/ToolTemplate.cpp?rev=272235&r1=272234&r2=272235&view=diff
==============================================================================
--- clang-tools-extra/trunk/tool-template/ToolTemplate.cpp (original)
+++ clang-tools-extra/trunk/tool-template/ToolTemplate.cpp Wed Jun 8 19:54:42 2016
@@ -73,7 +73,7 @@ static cl::extrahelp CommonHelp(CommonOp
static cl::OptionCategory ToolTemplateCategory("tool-template options");
int main(int argc, const char **argv) {
- llvm::sys::PrintStackTraceOnErrorSignal();
+ llvm::sys::PrintStackTraceOnErrorSignal(argv[0]);
CommonOptionsParser OptionsParser(argc, argv, ToolTemplateCategory);
RefactoringTool Tool(OptionsParser.getCompilations(),
OptionsParser.getSourcePathList());
More information about the cfe-commits
mailing list