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

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



Changes in directory llvm/tools/opt:

opt.cpp updated: 1.95 -> 1.96
---
Log message:

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


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

Index: llvm/tools/opt/opt.cpp
diff -u llvm/tools/opt/opt.cpp:1.95 llvm/tools/opt/opt.cpp:1.96
--- llvm/tools/opt/opt.cpp:1.95	Sat Jul 10 23:05:32 2004
+++ llvm/tools/opt/opt.cpp	Sun Aug 29 14:28:55 2004
@@ -72,7 +72,7 @@
 int main(int argc, char **argv) {
   cl::ParseCommandLineOptions(argc, argv,
 			      " llvm .bc -> .bc modular optimizer\n");
-  PrintStackTraceOnErrorSignal();
+  sys::PrintStackTraceOnErrorSignal();
 
   // Allocate a full target machine description only if necessary...
   // FIXME: The choice of target should be controllable on the command line.
@@ -111,7 +111,7 @@
 
     // Make sure that the Output file gets unlinked from the disk if we get a
     // SIGINT
-    RemoveFileOnSignal(OutputFilename);
+    sys::RemoveFileOnSignal(OutputFilename);
   }
 
   // If the output is set to be emitted to standard out, and standard out is a






More information about the llvm-commits mailing list