[all-commits] [llvm/llvm-project] c7044b: [llvm-nm][GOFF] Display archive attributes in GOFF...
Amy Kwan via All-commits
all-commits at lists.llvm.org
Thu Aug 6 09:31:09 PDT 2026
Branch: refs/heads/users/amy-kwan/extend-llvm-nm-print-goff
Home: https://github.com/llvm/llvm-project
Commit: c7044b7aeadeb02c7131b435ec55851d57186ea6
https://github.com/llvm/llvm-project/commit/c7044b7aeadeb02c7131b435ec55851d57186ea6
Author: Amy Kwan <amy.kwan1 at ibm.com>
Date: 2026-08-06 (Thu, 06 Aug 2026)
Changed paths:
M llvm/include/llvm/Object/Archive.h
M llvm/lib/Object/Archive.cpp
A llvm/test/tools/llvm-nm/zos-armap.test
M llvm/tools/llvm-nm/llvm-nm.cpp
Log Message:
-----------
[llvm-nm][GOFF] Display archive attributes in GOFF archives through --print-armap
GOFF archive symbol table entries contain an attribute word in addition
to the archive member offset. The low three bits describe whether the symbol is
64-bit, uses XPLink, or belongs to the WSA namespace (which was briefly mentioned
in e2c8fa09872cfacba7f73599dcf8557971ebe865).
This patch extends `llvm-nm --print-armap` to print the attribute value (in hex) and
its decoded description beside a symbol and its corresponding member when processing
a GOFF archive. This will functionality will be used to help validate full support for writing
GOFF archives in a subsequent llvm-ar patch.
The output for non-z/OS archives is unchanged.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list