[all-commits] [llvm/llvm-project] 021ea7: [llvm-nm] - Simplify the code in dumpSymbolNamesFr...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Fri Jan 15 01:35:01 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 021ea78a97ed8f4796d92a61cdf62284def36f1e
      https://github.com/llvm/llvm-project/commit/021ea78a97ed8f4796d92a61cdf62284def36f1e
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

  Changed paths:
    M llvm/tools/llvm-nm/llvm-nm.cpp

  Log Message:
  -----------
  [llvm-nm] - Simplify the code in dumpSymbolNamesFromObject. NFC.

It is possible to simplify the logic that extracts symbol names.

D94667 made the `NMSymbol::Name` to be `std::string`,
what allowed this simplification.

Differential revision: https://reviews.llvm.org/D94669




More information about the All-commits mailing list