summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ld
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-14 22:30:54 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-14 22:30:54 +0000
commitb2d0fa08230d98b55d83b6771f9ab894b6b15ce1 (patch)
treed68d2bc739910a85ecc84dfbfe41b31e7a550699 /llvm/tools/llvm-ld
parent34fae46c8762f3444692bfcf631606bcdfe112a3 (diff)
downloadbcm5719-llvm-b2d0fa08230d98b55d83b6771f9ab894b6b15ce1.tar.gz
bcm5719-llvm-b2d0fa08230d98b55d83b6771f9ab894b6b15ce1.zip
Fix usage of changed function prototype
llvm-svn: 17798
Diffstat (limited to 'llvm/tools/llvm-ld')
-rw-r--r--llvm/tools/llvm-ld/llvm-ld.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/tools/llvm-ld/llvm-ld.cpp b/llvm/tools/llvm-ld/llvm-ld.cpp
index 877b15c1f9a..5e2ac67768b 100644
--- a/llvm/tools/llvm-ld/llvm-ld.cpp
+++ b/llvm/tools/llvm-ld/llvm-ld.cpp
@@ -223,7 +223,7 @@ int main(int argc, char **argv, char **envp) {
// Ensure that the bytecode file gets removed from the disk if we get a
// terminating signal.
- sys::RemoveFileOnSignal(RealBytecodeOutput);
+ sys::RemoveFileOnSignal(sys::Path(RealBytecodeOutput));
// Generate the bytecode file.
if (GenerateBytecode(Composite.get(), Strip, !NoInternalize, &Out)) {
@@ -246,8 +246,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.
- sys::RemoveFileOnSignal(AssemblyFile);
- sys::RemoveFileOnSignal(OutputFilename);
+ sys::RemoveFileOnSignal(sys::Path(AssemblyFile));
+ sys::RemoveFileOnSignal(sys::Path(OutputFilename));
// Determine the locations of the llc and gcc programs.
std::string llc = FindExecutable("llc", argv[0]);
@@ -271,8 +271,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.
- sys::RemoveFileOnSignal(CFile);
- sys::RemoveFileOnSignal(OutputFilename);
+ sys::RemoveFileOnSignal(sys::Path(CFile));
+ sys::RemoveFileOnSignal(sys::Path(OutputFilename));
// Determine the locations of the llc and gcc programs.
std::string llc = FindExecutable("llc", argv[0]);
OpenPOWER on IntegriCloud