[PATCH] D132494: [AIX] llvm-nm support environment "OBJECT_MODE" on AIX OS

Digger Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 12:16:32 PDT 2022


DiggerLin created this revision.
DiggerLin added reviewers: jhenderson, hubert.reinterpretcast, MaskRay, Esme, daltenty.
Herald added subscribers: StephenFan, rupprecht.
Herald added a project: All.
DiggerLin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

according nm in AIX OS ,  https://www.ibm.com/docs/en/aix/7.2?topic=n-nm-command

-X Specifies the type of object file nm should examine. The mode must be one of the following:
32

  Processes only 32-bit object files

64

  Processes only 64-bit object files

32_64

  Processes both 32-bit and 64-bit object files

any

  Processes all of the supported object files.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132494

Files:
  llvm/docs/CommandGuide/llvm-nm.rst
  llvm/test/tools/llvm-nm/option-X-AIX.test
  llvm/test/tools/llvm-nm/option-X-Non-AIX.test
  llvm/test/tools/llvm-nm/option-X.test
  llvm/tools/llvm-nm/llvm-nm.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132494.454915.patch
Type: text/x-patch
Size: 11879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220823/80d5bf68/attachment.bin>


More information about the llvm-commits mailing list