summaryrefslogtreecommitdiff
path: root/tools/opt/opt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/opt/opt.cpp')
-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 76ad6fdd86..4810ebd870 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