Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
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.
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.
Rebase. Rename Indirect to Ifunc because the code path is only possible for STT_GNU_IFUNC.
LGTM, with one suggestion.
llvm/tools/llvm-objdump/llvm-objdump.cpp | ||
---|---|---|
1907 | Maybe IFunc rather than Ifunc, since it's short for "Indirect Function"? |
Perhaps it is not clear why there is an empty line between locals and globals.
I'd either remove it or add a comment.