summaryrefslogtreecommitdiff
path: root/tools/llvm-as
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/llvm-as
parent63ab669120ed863ced2463542e9e4a0963e86fcb (diff)
downloadllvm-227b6d00dd1faee07c921c7e2256e0fca737d2e5.tar.gz
llvm-227b6d00dd1faee07c921c7e2256e0fca737d2e5.tar.bz2
llvm-227b6d00dd1faee07c921c7e2256e0fca737d2e5.tar.xz
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/llvm-as')
-rw-r--r--tools/llvm-as/llvm-as.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/llvm-as/llvm-as.cpp b/tools/llvm-as/llvm-as.cpp
index acfe1756b5..7a777a4bab 100644
--- a/tools/llvm-as/llvm-as.cpp
+++ b/tools/llvm-as/llvm-as.cpp
@@ -40,8 +40,9 @@ Force("f", cl::desc("Overwrite output files"));
static cl::opt<bool>
DumpAsm("d", cl::desc("Print assembly as parsed"), cl::Hidden);
-static cl::opt<bool> NoCompress("disable-compression", cl::init(false),
- cl::desc("Don't ompress the generated bytecode"));
+static cl::opt<bool>
+NoCompress("disable-compression", cl::init(false),
+ cl::desc("Don't ompress the generated bytecode"));
static cl::opt<bool>
DisableVerify("disable-verify", cl::Hidden,
@@ -113,7 +114,7 @@ int main(int argc, char **argv) {
std::ios_base::trunc | std::ios_base::binary);
// Make sure that the Out file gets unlinked from the disk if we get a
// SIGINT
- sys::RemoveFileOnSignal(OutputFilename);
+ sys::RemoveFileOnSignal(sys::Path(OutputFilename));
}
}