From 9de7b334ec6f80a15f093f11b339f5741c964b34 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sun, 29 Aug 2004 19:28:55 +0000 Subject: 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 --- tools/opt/opt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/opt') diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 76ad6fdd..4810ebd 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -72,7 +72,7 @@ QuietA("quiet", cl::desc("Alias for -q"), cl::aliasopt(Quiet)); 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 @@ int main(int argc, char **argv) { // 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 -- cgit v1.1