[PATCH] D75793: [llvm-objdump] --syms: print 'i' for STT_GNU_IFUNC

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 08:36:03 PDT 2020


MaskRay marked an inline comment as done.
MaskRay added a comment.

In D75793#1912081 <https://reviews.llvm.org/D75793#1912081>, @jhenderson wrote:

> LGTM.
>
> In D75793#1910789 <https://reviews.llvm.org/D75793#1910789>, @MaskRay wrote:
>
> > `llvm::object::BasicSymbolRef::SF_Indirect` exists but I don't think it is suitable.
> >
> > In theory, `I` may be possible, but I cannot find any binutils test for `I`.
>
>
> What would a `I` value represent?


`binutils-gdb/bfd/syms.c:bfd_print_symbol_vandr`. The `I` character represents `BFD_INDIRECT`. By inspecting its references, it is only used by some intermediate representations (bfdlink.c). It cannot be produced when BFD parses an object file, so the rule in bfd_print_symbol_vandr may be dead.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75793/new/

https://reviews.llvm.org/D75793





More information about the llvm-commits mailing list