summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-split/llvm-split.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-split/llvm-split.cpp')
-rw-r--r--llvm/tools/llvm-split/llvm-split.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-split/llvm-split.cpp b/llvm/tools/llvm-split/llvm-split.cpp
index d340d18fccc..03625fb4a85 100644
--- a/llvm/tools/llvm-split/llvm-split.cpp
+++ b/llvm/tools/llvm-split/llvm-split.cpp
@@ -55,8 +55,8 @@ int main(int argc, char **argv) {
unsigned I = 0;
SplitModule(std::move(M), NumOutputs, [&](std::unique_ptr<Module> MPart) {
std::error_code EC;
- std::unique_ptr<tool_output_file> Out(new tool_output_file(
- OutputFilename + utostr(I++), EC, sys::fs::F_None));
+ std::unique_ptr<ToolOutputFile> Out(
+ new ToolOutputFile(OutputFilename + utostr(I++), EC, sys::fs::F_None));
if (EC) {
errs() << EC.message() << '\n';
exit(1);
OpenPOWER on IntegriCloud