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

Reid Spencer reid at x10sys.com
Sun Nov 14 14:21:48 PST 2004



Changes in directory llvm/tools/llvm-as:

llvm-as.cpp updated: 1.37 -> 1.38
---
Log message:

Fix usage of changed function prototype

---
Diffs of the changes:  (+4 -3)

Index: llvm/tools/llvm-as/llvm-as.cpp
diff -u llvm/tools/llvm-as/llvm-as.cpp:1.37 llvm/tools/llvm-as/llvm-as.cpp:1.38
--- llvm/tools/llvm-as/llvm-as.cpp:1.37	Sat Nov  6 23:50:16 2004
+++ llvm/tools/llvm-as/llvm-as.cpp	Sun Nov 14 16:20:53 2004
@@ -40,8 +40,9 @@
 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 @@
                                 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));
       }
     }
   






More information about the llvm-commits mailing list