From b2d0fa08230d98b55d83b6771f9ab894b6b15ce1 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sun, 14 Nov 2004 22:30:54 +0000 Subject: Fix usage of changed function prototype llvm-svn: 17798 --- llvm/tools/llvm-as/llvm-as.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'llvm/tools/llvm-as/llvm-as.cpp') diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp index acfe1756b50..7a777a4bab4 100644 --- a/llvm/tools/llvm-as/llvm-as.cpp +++ b/llvm/tools/llvm-as/llvm-as.cpp @@ -40,8 +40,9 @@ Force("f", cl::desc("Overwrite output files")); static cl::opt DumpAsm("d", cl::desc("Print assembly as parsed"), cl::Hidden); -static cl::opt NoCompress("disable-compression", cl::init(false), - cl::desc("Don't ompress the generated bytecode")); +static cl::opt +NoCompress("disable-compression", cl::init(false), + cl::desc("Don't ompress the generated bytecode")); static cl::opt 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)); } } -- cgit v1.2.3