mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Win32/Signals.inc: DontRemoveFileOnSignal(): Please acquire the CriticalSection.
It choked BugPoint on Mingw. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f50af8b5b8
commit
2172f3cd97
@ -143,6 +143,8 @@ void sys::DontRemoveFileOnSignal(const sys::Path &Filename) {
|
||||
if (FilesToRemove == NULL)
|
||||
return;
|
||||
|
||||
RegisterHandler();
|
||||
|
||||
FilesToRemove->push_back(Filename);
|
||||
std::vector<sys::Path>::reverse_iterator I =
|
||||
std::find(FilesToRemove->rbegin(), FilesToRemove->rend(), Filename);
|
||||
|
Loading…
Reference in New Issue
Block a user