[llvm-commits] CVS: llvm/tools/llvm-dis/llvm-dis.cpp
Reid Spencer
reid at x10sys.com
Sun Aug 29 12:29:07 PDT 2004
Changes in directory llvm/tools/llvm-dis:
llvm-dis.cpp updated: 1.44 -> 1.45
---
Log message:
The functions in Signal.h are now in the llvm::sys namespace - adjust
---
Diffs of the changes: (+2 -2)
Index: llvm/tools/llvm-dis/llvm-dis.cpp
diff -u llvm/tools/llvm-dis/llvm-dis.cpp:1.44 llvm/tools/llvm-dis/llvm-dis.cpp:1.45
--- llvm/tools/llvm-dis/llvm-dis.cpp:1.44 Mon Jun 7 13:10:01 2004
+++ llvm/tools/llvm-dis/llvm-dis.cpp Sun Aug 29 14:28:55 2004
@@ -42,7 +42,7 @@
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 @@
// Make sure that the Out file gets unlinked from the disk if we get a
// SIGINT
- RemoveFileOnSignal(OutputFilename);
+ sys::RemoveFileOnSignal(OutputFilename);
}
}
}
More information about the llvm-commits
mailing list