From: Jordan Rose Date: Fri, 23 Mar 2018 01:12:09 +0000 (+0000) Subject: Remove problematic PrettyStackTrace entry added in r328276 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b8dfd5cb4ef3806255fd7cc477421eeff05b6bc;p=clang Remove problematic PrettyStackTrace entry added in r328276 I'm not sure /why/ this is causing issues for libclang, but it is. Unbreak the buildbots since it's already consumed an hour of my time. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328286 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index 1ed254d6ae..bb8b8572fa 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/lib/Frontend/CompilerInstance.cpp @@ -1170,11 +1170,6 @@ compileModuleImpl(CompilerInstance &ImportingInstance, SourceLocation ImportLoc, llvm::CrashRecoveryContext CRC; CRC.RunSafelyOnThread( [&]() { - SmallString<64> CrashInfoMessage("While building module for '"); - CrashInfoMessage += ModuleName; - CrashInfoMessage += "'"; - llvm::PrettyStackTraceString CrashInfo(CrashInfoMessage.c_str()); - GenerateModuleFromModuleMapAction Action; Instance.ExecuteAction(Action); },