From: Ted Kremenek Date: Fri, 5 Mar 2010 22:43:25 +0000 (+0000) Subject: Add clang version to crashtracer string. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0baa95200b634cc55185489cea5d11b10edefb7d;p=clang Add clang version to crashtracer string. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97848 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/CIndex/CIndex.cpp b/tools/CIndex/CIndex.cpp index de835475a6..f07b94fc51 100644 --- a/tools/CIndex/CIndex.cpp +++ b/tools/CIndex/CIndex.cpp @@ -104,7 +104,8 @@ public: { { llvm::raw_svector_ostream Out(CrashString); - Out << "ClangCIndex [createTranslationUnitFromSourceFile]: clang"; + Out << "ClangCIndex [" << getClangFullVersion() << "]" + << "[createTranslationUnitFromSourceFile]: clang"; for (llvm::SmallVectorImpl::iterator I=Args.begin(), E=Args.end(); I!=E; ++I) Out << ' ' << *I;