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

Reid Spencer reid at x10sys.com
Sun Aug 29 12:29:08 PDT 2004



Changes in directory llvm/tools/llvm-as:

llvm-as.cpp updated: 1.32 -> 1.33
---
Log message:

The functions in Signal.h are now in the llvm::sys namespace - adjust


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

Index: llvm/tools/llvm-as/llvm-as.cpp
diff -u llvm/tools/llvm-as/llvm-as.cpp:1.32 llvm/tools/llvm-as/llvm-as.cpp:1.33
--- llvm/tools/llvm-as/llvm-as.cpp:1.32	Tue Jul 13 03:48:04 2004
+++ llvm/tools/llvm-as/llvm-as.cpp	Sun Aug 29 14:28:55 2004
@@ -46,7 +46,7 @@
 
 int main(int argc, char **argv) {
   cl::ParseCommandLineOptions(argc, argv, " llvm .ll -> .bc assembler\n");
-  PrintStackTraceOnErrorSignal();
+  sys::PrintStackTraceOnErrorSignal();
 
   std::ostream *Out = 0;
   try {
@@ -110,7 +110,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
-        RemoveFileOnSignal(OutputFilename);
+        sys::RemoveFileOnSignal(OutputFilename);
       }
     }
   






More information about the llvm-commits mailing list