mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Fix PR6826: GraphWriter delete the generated file before "dotty" load it,
patch by 'ether'. llvm-svn: 101116
This commit is contained in:
parent
c356444630
commit
72bc852ebe
@ -166,7 +166,8 @@ void llvm::DisplayGraph(const sys::Path &Filename, bool wait,
|
||||
errs() << "Error viewing graph " << Filename.str() << ": "
|
||||
<< ErrMsg << "\n";
|
||||
} else {
|
||||
#ifdef __MINGW32__ // Dotty spawns another app and doesn't wait until it returns
|
||||
// Dotty spawns another app and doesn't wait until it returns
|
||||
#if defined (__MINGW32__) || defined (_WINDOWS)
|
||||
return;
|
||||
#endif
|
||||
Filename.eraseFromDisk();
|
||||
|
Loading…
Reference in New Issue
Block a user