The functions in Signal.h are now in the llvm::sys namespace - adjust
[oota-llvm.git] / tools / llvm-link / llvm-link.cpp
index 5ba591bedf7204996797732c40ddba2c332ab6e3..3cd3c7b54dd8929298c3d57e4ec5fec88e761c01 100644 (file)
@@ -85,7 +85,7 @@ static inline std::auto_ptr<Module> LoadFile(const std::string &FN) {
 
 int main(int argc, char **argv) {
   cl::ParseCommandLineOptions(argc, argv, " llvm linker\n");
-  PrintStackTraceOnErrorSignal();
+  sys::PrintStackTraceOnErrorSignal();
   assert(InputFilenames.size() > 0 && "OneOrMore is not working");
 
   unsigned BaseArg = 0;
@@ -126,7 +126,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);
   }
 
   if (verifyModule(*Composite.get())) {