The functions in Signal.h are now in the llvm::sys namespace - adjust
[oota-llvm.git] / tools / llvm-as / llvm-as.cpp
index 0f16db90940a6333601f84298c8e5dac4ba9e59e..b49702c32eecf7d4a88a069649df9a91b5a18fa0 100644 (file)
@@ -46,7 +46,7 @@ DisableVerify("disable-verify", cl::Hidden,
 
 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 @@ int main(int argc, char **argv) {
                                 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);
       }
     }