Skip to content

Commit 040d85f

Browse files
xal-0topolarity
authored andcommitted
Use raw_fd_ostream to support old LLVM
1 parent e64d4bd commit 040d85f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aotcompile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ class AOTOutput {
14611461
{
14621462
open();
14631463
if (state == OPEN)
1464-
return std::make_unique<raw_fd_stream>(fd, false);
1464+
return std::make_unique<raw_fd_ostream>(fd, false);
14651465
else
14661466
return std::make_unique<raw_svector_ostream>(buf);
14671467
}

0 commit comments

Comments
 (0)