The functions in Signal.h are now in the llvm::sys namespace - adjust
[oota-llvm.git] / tools / llc / llc.cpp
index ca7ad1663e30e0bbe969eabbad2edb647c04a8c9..0d35ea20aa1661c67e8fd352e3f6982d7bbb743d 100644 (file)
@@ -64,7 +64,7 @@ GetFileNameRoot(const std::string &InputFilename) {
 //
 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 @@ int main(int argc, char **argv) {
 
       // 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 @@ int main(int argc, char **argv) {
       
       // Make sure that the Out file gets unlinked from the disk if we get a
       // SIGINT
-      RemoveFileOnSignal(OutputFilename);
+      sys::RemoveFileOnSignal(OutputFilename);
     }
   }