[all-commits] [llvm/llvm-project] e79940: [llvm-objdump] --syms: print 'i' for STT_GNU_IFUNC

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Mar 13 08:04:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e799405e5368033d602f531fcebb81229471cec0
      https://github.com/llvm/llvm-project/commit/e799405e5368033d602f531fcebb81229471cec0
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

  Changed paths:
    M llvm/test/tools/llvm-objdump/ELF/symbol-table.test
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [llvm-objdump] --syms: print 'i' for STT_GNU_IFUNC

Reviewed By: grimar, Higuoxing, jhenderson

Differential Revision: https://reviews.llvm.org/D75793


  Commit: 7b74b0d4e54239de928b42b334446b39faf05144
      https://github.com/llvm/llvm-project/commit/7b74b0d4e54239de928b42b334446b39faf05144
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

  Changed paths:
    M llvm/test/tools/llvm-objdump/ELF/symbol-table.test
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [llvm-objdump] --syms: print 'u' for STB_GNU_UNIQUE

GCC when configured with --enable-gnu-unique (default on glibc>=2.11)
emits STB_GNU_UNIQUE for certain objects which are otherwise emitted as
STT_OBJECT, such as an inline function's static local variable or its
guard variable, and a static data member of a template.

Clang does not implement -fgnu-unique.

Implementing it as a binding is strange and the feature itself is
considered by some as a misfeature.

Reviewed By: grimar, jhenderson

Differential Revision: https://reviews.llvm.org/D75797


Compare: https://github.com/llvm/llvm-project/compare/0bd3da5bfaee...7b74b0d4e542


More information about the All-commits mailing list