diff options
Diffstat (limited to 'tools/llvm-as/llvm-as.cpp')
| -rw-r--r-- | tools/llvm-as/llvm-as.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/llvm-as/llvm-as.cpp b/tools/llvm-as/llvm-as.cpp index 06bc2e990105..9f0f162b74f8 100644 --- a/tools/llvm-as/llvm-as.cpp +++ b/tools/llvm-as/llvm-as.cpp @@ -72,8 +72,8 @@ static void WriteOutputFile(const Module *M) { } std::error_code EC; - std::unique_ptr<tool_output_file> Out( - new tool_output_file(OutputFilename, EC, sys::fs::F_None)); + std::unique_ptr<ToolOutputFile> Out( + new ToolOutputFile(OutputFilename, EC, sys::fs::F_None)); if (EC) { errs() << EC.message() << '\n'; exit(1); @@ -97,7 +97,8 @@ int main(int argc, char **argv) { // Parse the file now... SMDiagnostic Err; - std::unique_ptr<Module> M = parseAssemblyFile(InputFilename, Err, Context); + std::unique_ptr<Module> M = + parseAssemblyFile(InputFilename, Err, Context, nullptr, !DisableVerify); if (!M.get()) { Err.print(argv[0], errs()); return 1; |
