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

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 08:59:37 PDT 2026


================
@@ -1244,6 +1387,9 @@ uint32_t Archive::getNumberOfSymbols() const {
     return read32le(buf) / 8;
   if (kind() == K_DARWIN64)
     return read64le(buf) / 16;
+  if (kind() == K_ZOS) {
----------------
jh7370 wrote:

No braces for single-line ifs, per the coding standard.

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


More information about the llvm-commits mailing list