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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16091 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp
index cddb9bd..ba46815 100644
--- a/tools/gccld/gccld.cpp
+++ b/tools/gccld/gccld.cpp
@@ -155,7 +155,7 @@
 
 int main(int argc, char **argv, char **envp) {
   cl::ParseCommandLineOptions(argc, argv, " llvm linker for GCC\n");
-  PrintStackTraceOnErrorSignal();
+  sys::PrintStackTraceOnErrorSignal();
 
   std::string ModuleID("gccld-output");
   std::auto_ptr<Module> Composite(new Module(ModuleID));
@@ -192,7 +192,7 @@
 
   // Ensure that the bytecode file gets removed from the disk if we get a
   // SIGINT signal.
-  RemoveFileOnSignal(RealBytecodeOutput);
+  sys::RemoveFileOnSignal(RealBytecodeOutput);
 
   // Generate the bytecode file.
   if (GenerateBytecode(Composite.get(), Strip, !NoInternalize, &Out)) {
@@ -215,8 +215,8 @@
       std::string AssemblyFile = OutputFilename + ".s";
 
       // Mark the output files for removal if we get an interrupt.
-      RemoveFileOnSignal(AssemblyFile);
-      RemoveFileOnSignal(OutputFilename);
+      sys::RemoveFileOnSignal(AssemblyFile);
+      sys::RemoveFileOnSignal(OutputFilename);
 
       // Determine the locations of the llc and gcc programs.
       std::string llc = FindExecutable("llc", argv[0]);
@@ -240,8 +240,8 @@
       std::string CFile = OutputFilename + ".cbe.c";
 
       // Mark the output files for removal if we get an interrupt.
-      RemoveFileOnSignal(CFile);
-      RemoveFileOnSignal(OutputFilename);
+      sys::RemoveFileOnSignal(CFile);
+      sys::RemoveFileOnSignal(OutputFilename);
 
       // Determine the locations of the llc and gcc programs.
       std::string llc = FindExecutable("llc", argv[0]);