aboutsummaryrefslogtreecommitdiff
path: root/tools/gccld/gccld.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
commit9de7b334ec6f80a15f093f11b339f5741c964b34 (patch)
tree8da8fb445c4a2ced80e4c31d7c663a4e127a788c /tools/gccld/gccld.cpp
parent615edcccda2ed18f91d6991e7dea2ddfb3476bd1 (diff)
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/gccld/gccld.cpp')
-rw-r--r--tools/gccld/gccld.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp
index cddb9bdb47..ba4681534d 100644
--- a/tools/gccld/gccld.cpp
+++ b/tools/gccld/gccld.cpp
@@ -155,7 +155,7 @@ static void EmitShellScript(char **argv) {
int main(int argc, char **argv, char **envp) {
cl::ParseCommandLineOptions(argc, argv, " llvm linker for GCC\n");
- PrintStackTraceOnErrorSignal();
+ sys::PrintStackTraceOnErrorSignal();
std::string ModuleID("gccld-output");
std::auto_ptr<Module> Composite(new Module(ModuleID));
@@ -192,7 +192,7 @@ int main(int argc, char **argv, char **envp) {
// Ensure that the bytecode file gets removed from the disk if we get a
// SIGINT signal.
- RemoveFileOnSignal(RealBytecodeOutput);
+ sys::RemoveFileOnSignal(RealBytecodeOutput);
// Generate the bytecode file.
if (GenerateBytecode(Composite.get(), Strip, !NoInternalize, &Out)) {
@@ -215,8 +215,8 @@ int main(int argc, char **argv, char **envp) {
std::string AssemblyFile = OutputFilename + ".s";
// Mark the output files for removal if we get an interrupt.
- RemoveFileOnSignal(AssemblyFile);
- RemoveFileOnSignal(OutputFilename);
+ sys::RemoveFileOnSignal(AssemblyFile);
+ sys::RemoveFileOnSignal(OutputFilename);
// Determine the locations of the llc and gcc programs.
std::string llc = FindExecutable("llc", argv[0]);
@@ -240,8 +240,8 @@ int main(int argc, char **argv, char **envp) {
std::string CFile = OutputFilename + ".cbe.c";
// Mark the output files for removal if we get an interrupt.
- RemoveFileOnSignal(CFile);
- RemoveFileOnSignal(OutputFilename);
+ sys::RemoveFileOnSignal(CFile);
+ sys::RemoveFileOnSignal(OutputFilename);
// Determine the locations of the llc and gcc programs.
std::string llc = FindExecutable("llc", argv[0]);