summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-dis/llvm-dis.cpp
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
commite3263ecaf08c48af4694d316e7be7ae5f215f3c0 (patch)
tree1017ce7f546fb54a829b4008192f54c52e43c7a6 /llvm/tools/llvm-dis/llvm-dis.cpp
parent5b43fc9b53b0654d818413c52bd80c8deefff331 (diff)
downloadbcm5719-llvm-e3263ecaf08c48af4694d316e7be7ae5f215f3c0.tar.gz
bcm5719-llvm-e3263ecaf08c48af4694d316e7be7ae5f215f3c0.zip
The functions in Signal.h are now in the llvm::sys namespace - adjust
llvm-svn: 16091
Diffstat (limited to 'llvm/tools/llvm-dis/llvm-dis.cpp')
-rw-r--r--llvm/tools/llvm-dis/llvm-dis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-dis/llvm-dis.cpp b/llvm/tools/llvm-dis/llvm-dis.cpp
index 54657123515..ac8101b6c42 100644
--- a/llvm/tools/llvm-dis/llvm-dis.cpp
+++ b/llvm/tools/llvm-dis/llvm-dis.cpp
@@ -42,7 +42,7 @@ CWriteMode("c", cl::desc("Obsolete option, do not use"), cl::ReallyHidden);
int main(int argc, char **argv) {
cl::ParseCommandLineOptions(argc, argv, " llvm .bc -> .ll disassembler\n");
- PrintStackTraceOnErrorSignal();
+ sys::PrintStackTraceOnErrorSignal();
std::ostream *Out = &std::cout; // Default to printing to stdout...
std::string ErrorMessage;
@@ -95,7 +95,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);
}
}
}
OpenPOWER on IntegriCloud