r328286 - Remove problematic PrettyStackTrace entry added in r328276

Jordan Rose via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 22 18:12:09 PDT 2018


Author: jrose
Date: Thu Mar 22 18:12:09 2018
New Revision: 328286

URL: http://llvm.org/viewvc/llvm-project?rev=328286&view=rev
Log:
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.

Modified:
    cfe/trunk/lib/Frontend/CompilerInstance.cpp

Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInstance.cpp?rev=328286&r1=328285&r2=328286&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Thu Mar 22 18:12:09 2018
@@ -1170,11 +1170,6 @@ compileModuleImpl(CompilerInstance &Impo
   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);
       },




More information about the cfe-commits mailing list