[llvm] [SystemZ][z/OS] Add z/OS archive writing support (PR #200087)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 01:05:23 PDT 2026


================
@@ -631,14 +670,25 @@ static void writeSymbolTable(raw_ostream &Out, object::Archive::Kind Kind,
       if (isBSDLike(Kind))
         printNBits(Out, Kind, StringOffset);
       printNBits(Out, Kind, Pos); // member offset
+      if (isZOSArchive(Kind))
+        printNBits(Out, Kind, Pos); // symbol flags
----------------
jh7370 wrote:

I may be missing something, but isn't this just printing the member offset again and nothing to do with any flag?

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


More information about the llvm-commits mailing list