[all-commits] [llvm/llvm-project] b13535: [AIX] llvm-nm support environment "OBJECT_MODE" fo...
diggerlin via All-commits
all-commits at lists.llvm.org
Mon Sep 19 08:27:54 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b135358877e94dbd5d2f3231c2c98309fae70628
https://github.com/llvm/llvm-project/commit/b135358877e94dbd5d2f3231c2c98309fae70628
Author: zhijian <zhijian at ca.ibm.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M llvm/docs/CommandGuide/llvm-nm.rst
A llvm/test/tools/llvm-nm/option-X-AIX.test
A llvm/test/tools/llvm-nm/option-X-Non-AIX.test
M llvm/test/tools/llvm-nm/option-X.test
M llvm/tools/llvm-nm/llvm-nm.cpp
Log Message:
-----------
[AIX] llvm-nm support environment "OBJECT_MODE" for option -X on AIX OS
Summary:
according nm in AIX OS , https://www.ibm.com/docs/en/aix/7.2?topic=n-nm-command
In AIX OS, 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.
In non AIX OS. The default is to process all support object files. and not support the OBJECT_MODE environment variable.
Reviewers: James Henderson
Differential Revision: https://reviews.llvm.org/D132494
More information about the All-commits
mailing list