[clang] [llvm] [llvm-nm][AIX] Set default to 'any' if OBJECT_MODE is not set (PR #204281)
Kelvin Li via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 17 05:35:44 PDT 2026
kkwli wrote:
> I believe the default was picked to match IBM's nm tool for AIX. From the spec:
>
> > The default is to process 32-bit object files (ignore 64-bit objects). The mode can also be set with the OBJECT_MODE environment variable. For example, OBJECT_MODE=64 causes nm to process any 64-bit objects and ignore 32-bit objects. The -X flag overrides the OBJECT_MODE variable.
>
> However, I am not an AIX developer and have no specific stake in this, so if people like @diggerlin are happy to change it, I'd be okay with that. I am concerned that you're changing it for llvm-nm and not llvm-ar/llvm-ranlib.
Thanks for the review. I plan to update `llvm-ar`/`llvm-ranlib` in a separate PR.
https://github.com/llvm/llvm-project/pull/204281
More information about the cfe-commits
mailing list