aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llc
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
commit227b6d00dd1faee07c921c7e2256e0fca737d2e5 (patch)
tree4d0fa0dbfeb65cc710648c35ebba257e71625780 /tools/llc
parent63ab669120ed863ced2463542e9e4a0963e86fcb (diff)
downloadexternal_llvm-227b6d00dd1faee07c921c7e2256e0fca737d2e5.zip
external_llvm-227b6d00dd1faee07c921c7e2256e0fca737d2e5.tar.gz
external_llvm-227b6d00dd1faee07c921c7e2256e0fca737d2e5.tar.bz2
Fix usage of changed function prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r--tools/llc/llc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 4e1e0cc..ba624b2 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -115,7 +115,7 @@ int main(int argc, char **argv) {
// Make sure that the Out file gets unlinked from the disk if we get a
// SIGINT
- sys::RemoveFileOnSignal(OutputFilename);
+ sys::RemoveFileOnSignal(sys::Path(OutputFilename));
} else {
Out = &std::cout;
}
@@ -148,7 +148,7 @@ int main(int argc, char **argv) {
// Make sure that the Out file gets unlinked from the disk if we get a
// SIGINT
- sys::RemoveFileOnSignal(OutputFilename);
+ sys::RemoveFileOnSignal(sys::Path(OutputFilename));
}
}