aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-29 19:28:55 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-29 19:28:55 +0000
commit9de7b334ec6f80a15f093f11b339f5741c964b34 (patch)
tree8da8fb445c4a2ced80e4c31d7c663a4e127a788c /tools/opt
parent615edcccda2ed18f91d6991e7dea2ddfb3476bd1 (diff)
downloadexternal_llvm-9de7b334ec6f80a15f093f11b339f5741c964b34.zip
external_llvm-9de7b334ec6f80a15f093f11b339f5741c964b34.tar.gz
external_llvm-9de7b334ec6f80a15f093f11b339f5741c964b34.tar.bz2
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
Diffstat (limited to 'tools/opt')
-rw-r--r--tools/opt/opt.cpp4
1 files changed, 2 insertions, 2 deletions
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