diff options
author | Abhina Sree <69635948+abhina-sree@users.noreply.github.com> | 2024-06-12 09:22:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-12 09:22:21 -0400 |
commit | d3342e5b922209e471b610ca1e254d9481b65319 (patch) | |
tree | 82666294b5e0212d64782abfaa6333aa0af4b982 /llvm/lib/LTO/LTOBackend.cpp | |
parent | ea2ee5dc2f14a17ff4486b41c9475c0b261412a4 (diff) | |
download | llvm-d3342e5b922209e471b610ca1e254d9481b65319.zip llvm-d3342e5b922209e471b610ca1e254d9481b65319.tar.gz llvm-d3342e5b922209e471b610ca1e254d9481b65319.tar.bz2 |
[SystemZ][z/OS] Continue marking text files with OF_Text (#95111)
Text files should be opened with OF_Text to have the correct encoding.
Diffstat (limited to 'llvm/lib/LTO/LTOBackend.cpp')
-rw-r--r-- | llvm/lib/LTO/LTOBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOBackend.cpp b/llvm/lib/LTO/LTOBackend.cpp index 21aed79..3fc6751 100644 --- a/llvm/lib/LTO/LTOBackend.cpp +++ b/llvm/lib/LTO/LTOBackend.cpp @@ -143,7 +143,7 @@ Error Config::addSaveTemps(std::string OutputFileName, bool UseInputModulePath, writeIndexToFile(Index, OS); Path = OutputFileName + "index.dot"; - raw_fd_ostream OSDot(Path, EC, sys::fs::OpenFlags::OF_None); + raw_fd_ostream OSDot(Path, EC, sys::fs::OpenFlags::OF_Text); if (EC) reportOpenError(Path, EC.message()); Index.exportToDot(OSDot, GUIDPreservedSymbols); |