Fix usage of changed function prototype
[oota-llvm.git] / tools / llc / llc.cpp
index 4e1e0cce7bb03c873873a3aba09fb00ae3ffb318..ba624b212769561ba99a023d5157f105fc312802 100644 (file)
@@ -115,7 +115,7 @@ int main(int argc, char **argv) {
 
       // Make sure that the Out file gets unlinked from the disk if we get a
       // SIGINT
-      sys::RemoveFileOnSignal(OutputFilename);
+      sys::RemoveFileOnSignal(sys::Path(OutputFilename));
     } else {
       Out = &std::cout;
     }
@@ -148,7 +148,7 @@ int main(int argc, char **argv) {
       
       // Make sure that the Out file gets unlinked from the disk if we get a
       // SIGINT
-      sys::RemoveFileOnSignal(OutputFilename);
+      sys::RemoveFileOnSignal(sys::Path(OutputFilename));
     }
   }