[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
GitOrigin-RevId: ea61708c6d07846e13590b14c4dac2b7d543fef9
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index e70263e..0918ea4 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -4081,7 +4081,8 @@
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();