[SystemZ][z/OS] csv files should be text files

This patch sets the OF_Text flag correctly for the csv file.

Reviewed By: anirudhp

Differential Revision: https://reviews.llvm.org/D99285
This commit is contained in:
Abhina Sreeskantharajan 2021-03-25 09:18:49 -04:00
parent 568c874117
commit ea61708c6d
1 changed files with 2 additions and 1 deletions

View File

@ -4081,7 +4081,8 @@ void Driver::BuildJobs(Compilation &C) const {
Out.flush();
std::error_code EC;
llvm::raw_fd_ostream OS(CCPrintStatReportFilename, EC,
llvm::sys::fs::OF_Append);
llvm::sys::fs::OF_Append |
llvm::sys::fs::OF_Text);
if (EC)
return;
auto L = OS.lock();