[all-commits] [llvm/llvm-project] 0135aa: [llvm-nm] add a new option -X to specify the type ...
diggerlin via All-commits
all-commits at lists.llvm.org
Tue Feb 15 06:43:59 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0135aa7b988f87626fa5640c92fae68dff4e2897
https://github.com/llvm/llvm-project/commit/0135aa7b988f87626fa5640c92fae68dff4e2897
Author: zhijian <zhijian at ca.ibm.com>
Date: 2022-02-15 (Tue, 15 Feb 2022)
Changed paths:
M llvm/docs/CommandGuide/llvm-nm.rst
A llvm/test/tools/llvm-nm/Inputs/bitcode-sym32.ll
A llvm/test/tools/llvm-nm/Inputs/bitcode-sym64.ll
A llvm/test/tools/llvm-nm/option-X.test
M llvm/tools/llvm-nm/Opts.td
M llvm/tools/llvm-nm/llvm-nm.cpp
Log Message:
-----------
[llvm-nm] add a new option -X to specify the type of object file llvm-nm should examine
Summary:
Added a new option "-X" to specify, which type of object file should be examine.
For example:
1. "llvm-nm -X64 archive.a" only deal with the 64bit object files in the archive.a ,ignore the all 32bit object files in the archive.a
2. "llvm-nm -X32 xcoffobj32.o xcoffobj64.o " only deal with the 32bit object file "xcoffobj32.o" , 64bit object file "xcoffobj64.o" will be ignored
Reviewers: James Henderson,Fangrui Song
Differential Revision: https://reviews.llvm.org/D118193
More information about the All-commits
mailing list