[llvm-commits] CVS: llvm/tools/llvm-ld/llvm-ld.cpp

Reid Spencer reid at x10sys.com
Sun Nov 14 14:25:09 PST 2004



Changes in directory llvm/tools/llvm-ld:

llvm-ld.cpp updated: 1.2 -> 1.3
---
Log message:

Fix usage of changed function prototype

---
Diffs of the changes:  (+5 -5)

Index: llvm/tools/llvm-ld/llvm-ld.cpp
diff -u llvm/tools/llvm-ld/llvm-ld.cpp:1.2 llvm/tools/llvm-ld/llvm-ld.cpp:1.3
--- llvm/tools/llvm-ld/llvm-ld.cpp:1.2	Sat Sep 25 11:00:07 2004
+++ llvm/tools/llvm-ld/llvm-ld.cpp	Sun Nov 14 16:24:17 2004
@@ -223,7 +223,7 @@
 
   // 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 @@
       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 @@
       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]);






More information about the llvm-commits mailing list