[all-commits] [llvm/llvm-project] e98d5c: [libObject, llvm-readelf/obj] - Don't use @@ when p...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Tue Jan 26 01:06:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e98d5c31925df278d98cebff599d5e3f34bd86be
      https://github.com/llvm/llvm-project/commit/e98d5c31925df278d98cebff599d5e3f34bd86be
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

  Changed paths:
    M lld/test/ELF/partition-synthetic-sections.s
    M llvm/include/llvm/Object/ELF.h
    M llvm/test/tools/llvm-readobj/ELF/dyn-symbols.test
    M llvm/test/tools/llvm-readobj/ELF/versioninfo.test
    M llvm/tools/llvm-nm/llvm-nm.cpp
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [libObject,llvm-readelf/obj] - Don't use @@ when printing versions of undefined symbols.

A default version (@@) is only available for defined symbols.

Currently we use "@@" for undefined symbols too.
This patch fixes the issue and improves our test case.

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




More information about the All-commits mailing list