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

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



Changes in directory llvm/tools/llc:

llc.cpp updated: 1.100 -> 1.101
---
Log message:

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


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

Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.100 llvm/tools/llc/llc.cpp:1.101
--- llvm/tools/llc/llc.cpp:1.100	Mon Jul 12 17:58:07 2004
+++ llvm/tools/llc/llc.cpp	Sun Aug 29 14:28:55 2004
@@ -64,7 +64,7 @@
 //
 int main(int argc, char **argv) {
   cl::ParseCommandLineOptions(argc, argv, " llvm system compiler\n");
-  PrintStackTraceOnErrorSignal();
+  sys::PrintStackTraceOnErrorSignal();
 
   // Load the module to be compiled...
   std::auto_ptr<Module> M(ParseBytecodeFile(InputFilename));
@@ -115,7 +115,7 @@
 
       // Make sure that the Out file gets unlinked from the disk if we get a
       // SIGINT
-      RemoveFileOnSignal(OutputFilename);
+      sys::RemoveFileOnSignal(OutputFilename);
     } else {
       Out = &std::cout;
     }
@@ -148,7 +148,7 @@
       
       // 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