Fix usage of changed function prototype
authorReid Spencer <rspencer@reidspencer.com>
Sun, 14 Nov 2004 22:30:54 +0000 (22:30 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 14 Nov 2004 22:30:54 +0000 (22:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17798 91177308-0d34-0410-b5e6-96231b3b80d8

projects/Stacker/tools/stkrc/stkrc.cpp
tools/gccas/gccas.cpp
tools/llc/llc.cpp
tools/llvm-as/llvm-as.cpp
tools/llvm-dis/llvm-dis.cpp
tools/llvm-ld/llvm-ld.cpp
tools/llvm-link/llvm-link.cpp
tools/opt/opt.cpp
utils/TableGen/TableGen.cpp

index 7021dd110a25857049bfba5458e5a03be465f327..ff616237885e9fa0d37c7525cb2ba36d6f756ce5 100644 (file)
@@ -155,7 +155,7 @@ int main(int argc, char **argv)
           Out = new std::ofstream(OutputFilename.c_str());
           // Make sure that the Out file gets unlinked from the disk if we get a
           // SIGINT
-          sys::RemoveFileOnSignal(OutputFilename);
+          sys::RemoveFileOnSignal(sys::Path(OutputFilename));
         }
       }
     
index 3fa0cfa7dd4d1bed214501da4bbfde681faa7721..dd8b8e0698498db4613ad007bd2a0ee311d0227f 100644 (file)
@@ -159,7 +159,7 @@ int main(int argc, char **argv) {
 
     // Make sure that the Out file gets unlinked from the disk if we get a
     // signal
-    sys::RemoveFileOnSignal(OutputFilename);
+    sys::RemoveFileOnSignal(sys::Path(OutputFilename));
   }
 
   
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));
     }
   }
 
index acfe1756b5000808144f1ca6e84959e90f599447..7a777a4bab4638d15c32f24aeaf3470c7260d718 100644 (file)
@@ -40,8 +40,9 @@ Force("f", cl::desc("Overwrite output files"));
 static cl::opt<bool>
 DumpAsm("d", cl::desc("Print assembly as parsed"), cl::Hidden);
 
-static cl::opt<bool> NoCompress("disable-compression", cl::init(false),
-       cl::desc("Don't ompress the generated bytecode"));
+static cl::opt<bool> 
+NoCompress("disable-compression", cl::init(false),
+           cl::desc("Don't ompress the generated bytecode"));
 
 static cl::opt<bool>
 DisableVerify("disable-verify", cl::Hidden,
@@ -113,7 +114,7 @@ int main(int argc, char **argv) {
                                 std::ios_base::trunc | std::ios_base::binary);
         // Make sure that the Out file gets unlinked from the disk if we get a
         // SIGINT
-        sys::RemoveFileOnSignal(OutputFilename);
+        sys::RemoveFileOnSignal(sys::Path(OutputFilename));
       }
     }
   
index 37d5c84f7514236ae2441ecc8c986ef2a59fd361..78d10ee531b36911f16e00e4dfdbcd21a4886b28 100644 (file)
@@ -95,7 +95,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));
       }
     }
   }
index 877b15c1f9a576ea9c6a3e0792e0b6ffed60181d..5e2ac67768bcece50204a485407be2329bf8c230 100644 (file)
@@ -223,7 +223,7 @@ int main(int argc, char **argv, char **envp) {
 
   // Ensure that the bytecode file gets removed from the disk if we get a
   // terminating signal.
-  sys::RemoveFileOnSignal(RealBytecodeOutput);
+  sys::RemoveFileOnSignal(sys::Path(RealBytecodeOutput));
 
   // Generate the bytecode file.
   if (GenerateBytecode(Composite.get(), Strip, !NoInternalize, &Out)) {
@@ -246,8 +246,8 @@ int main(int argc, char **argv, char **envp) {
       std::string AssemblyFile = OutputFilename + ".s";
 
       // Mark the output files for removal if we get an interrupt.
-      sys::RemoveFileOnSignal(AssemblyFile);
-      sys::RemoveFileOnSignal(OutputFilename);
+      sys::RemoveFileOnSignal(sys::Path(AssemblyFile));
+      sys::RemoveFileOnSignal(sys::Path(OutputFilename));
 
       // Determine the locations of the llc and gcc programs.
       std::string llc = FindExecutable("llc", argv[0]);
@@ -271,8 +271,8 @@ int main(int argc, char **argv, char **envp) {
       std::string CFile = OutputFilename + ".cbe.c";
 
       // Mark the output files for removal if we get an interrupt.
-      sys::RemoveFileOnSignal(CFile);
-      sys::RemoveFileOnSignal(OutputFilename);
+      sys::RemoveFileOnSignal(sys::Path(CFile));
+      sys::RemoveFileOnSignal(sys::Path(OutputFilename));
 
       // Determine the locations of the llc and gcc programs.
       std::string llc = FindExecutable("llc", argv[0]);
index 7de3ba118a44cb25c0dc4eb1a861f100495e291e..1605cd2a0f76335ab63f52c47c165658cdfc9efe 100644 (file)
@@ -128,7 +128,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));
   }
 
   if (verifyModule(*Composite.get())) {
index 12c354736c27e9668599ad31929e56b20314cb66..dcc3666ca1c70d91d2e4177658a0982e918057cb 100644 (file)
@@ -111,7 +111,7 @@ int main(int argc, char **argv) {
 
     // Make sure that the Output file gets unlinked from the disk if we get a
     // SIGINT
-    sys::RemoveFileOnSignal(OutputFilename);
+    sys::RemoveFileOnSignal(sys::Path(OutputFilename));
   }
 
   // If the output is set to be emitted to standard out, and standard out is a
index 5c0f91a9fe813596e48f0c35da39609c2ca03df3..ecce8e0f20bff30aa07924aaaccf69a2226b32cd 100644 (file)
@@ -426,7 +426,7 @@ int main(int argc, char **argv) {
     }
 
     // Make sure the file gets removed if *gasp* tablegen crashes...
-    sys::RemoveFileOnSignal(OutputFilename);
+    sys::RemoveFileOnSignal(sys::Path(OutputFilename));
   }
 
   try {