[all-commits] [llvm/llvm-project] bef259: [llvm-nm]add helper function to print out the obje...

diggerlin via All-commits all-commits at lists.llvm.org
Wed Mar 9 11:45:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bef2592c092f453078d8762d6d3d9c811f23c25d
      https://github.com/llvm/llvm-project/commit/bef2592c092f453078d8762d6d3d9c811f23c25d
  Author: zhijian <zhijian at ca.ibm.com>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M llvm/test/Object/nm-universal-binary.test
    M llvm/tools/llvm-nm/llvm-nm.cpp

  Log Message:
  -----------
  [llvm-nm]add helper function to print out the object file name, archive name, architecture name

Summary:

1. added helper function printObjectNamesInfo() to print out  object file name, archive name, architecture name.
2.  One small behaviors change.

     in the function dumpMachOUniversalBinaryArchAll , delete the functionality:

if (moreThanOneArch)
               outs() << "\n";

Reviewer : James Henderson,Fangrui Song
Differential Revision: https://reviews.llvm.org/D120357




More information about the All-commits mailing list