[PATCH] D130354: [SystemZ][z/OS] Open YAML text files as text

Abhina Sree via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 05:07:34 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6e99771a3157: [SystemZ][z/OS] Open YAML text files as text (authored by abhina.sreeskantharajan).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130354/new/

https://reviews.llvm.org/D130354

Files:
  llvm/tools/obj2yaml/obj2yaml.cpp


Index: llvm/tools/obj2yaml/obj2yaml.cpp
===================================================================
--- llvm/tools/obj2yaml/obj2yaml.cpp
+++ llvm/tools/obj2yaml/obj2yaml.cpp
@@ -108,7 +108,7 @@
 
   std::error_code EC;
   std::unique_ptr<ToolOutputFile> Out(
-      new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
+      new ToolOutputFile(OutputFilename, EC, sys::fs::OF_Text));
   if (EC) {
     WithColor::error(errs(), "obj2yaml")
         << "failed to open '" + OutputFilename + "': " + EC.message() << '\n';


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130354.447281.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220725/0840dc7a/attachment.bin>


More information about the llvm-commits mailing list