[PATCH] D120357: [llvm-nm] add helper function to print out the object file name, archive name, architecture name
Digger Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 22 14:17:22 PST 2022
DiggerLin created this revision.
DiggerLin added reviewers: jhenderson, MaskRay, hubert.reinterpretcast.
Herald added a subscriber: rupprecht.
DiggerLin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
1. added helper function printObjectNamesInfo() to print out object file name, archive name, architecture name.
2. two small behaviors change. 2.1 in the function dumpArchive() , if !PrintFileName , it always do for all object file (not only MachOObjectFile)
outs() << Filename << "(" << O->getFileName() << ")";
2.2 in the function dumpMachOUniversalBinaryArchAll , delete the functionality.
if (moreThanOneArch)
outs() << "\n";
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120357
Files:
llvm/test/tools/llvm-nm/elf-archive.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: D120357.410633.patch
Type: text/x-patch
Size: 14330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220222/392ed5d3/attachment.bin>
More information about the llvm-commits
mailing list