PPC: Add some missing V_SET0 patterns
[oota-llvm.git] / lib / Support / Windows / Signals.inc
index ec597e91580f4baf9d5edb9eb4da75b46b0011e2..941aa2888998fe2ac45c8531a4f5269d6ef1c344 100644 (file)
@@ -11,7 +11,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "llvm/Support/PathV1.h"
+#include "llvm/Support/FileSystem.h"
 
 #include "Windows.h"
 #include <algorithm>
@@ -354,7 +354,8 @@ static void Cleanup() {
 
   if (FilesToRemove != NULL)
     while (!FilesToRemove->empty()) {
-      sys::Path(FilesToRemove->back()).eraseFromDisk();
+      bool Existed;
+      llvm::sys::fs::remove(FilesToRemove->back(), Existed);
       FilesToRemove->pop_back();
     }