[llvm] r314051 - Commit missing fixes for tool_file_rename
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 22 18:04:42 PDT 2017
Author: rnk
Date: Fri Sep 22 18:04:42 2017
New Revision: 314051
URL: http://llvm.org/viewvc/llvm-project?rev=314051&view=rev
Log:
Commit missing fixes for tool_file_rename
Modified:
llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
Modified: llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp?rev=314051&r1=314050&r2=314051&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp (original)
+++ llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp Fri Sep 22 18:04:42 2017
@@ -379,10 +379,10 @@ int main(int argc, char **argv) {
return 0;
}
- std::unique_ptr<tool_output_file> OutputFile;
+ std::unique_ptr<ToolOutputFile> OutputFile;
if (!OutputFilename.empty()) {
std::error_code EC;
- OutputFile = llvm::make_unique<tool_output_file>(OutputFilename, EC,
+ OutputFile = llvm::make_unique<ToolOutputFile>(OutputFilename, EC,
sys::fs::F_None);
error("Unable to open output file" + OutputFilename, EC);
// Don't remove output file if we exit with an error.
More information about the llvm-commits
mailing list