diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 4157d3fe5ad..9014378fcca 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -289,8 +289,8 @@ static int compileModule(char **argv, LLVMContext &Context) { FloatABIForCalls = FloatABI::Soft; // Figure out where we are going to send the output. - std::unique_ptr Out( - GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0])); + std::unique_ptr Out = + GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0]); if (!Out) return 1; // Build up all of the passes that we want to do to the module.