[llvm] [z/OS] Add z/OS archive reading support (PR #187110)

Uyiosa Iyekekpolor via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 13:53:55 PDT 2026


================
@@ -158,6 +158,46 @@ class LLVM_ABI BigArchiveMemberHeader
   Expected<bool> isThin() const override { return false; }
 };
 
+// Define file member header of z/OS archive.
+// The fixed part of the member header (in EBCDIC) is:
+// struct ar_hdr {
+//   char ar_name[16]; /* blank terminated member name */
----------------
uyoyo0 wrote:

These fields are padded with spaces rather than null terminated. I agree that the terminology is a bit confusing so I've updated the comment.

https://github.com/llvm/llvm-project/pull/187110


More information about the llvm-commits mailing list