[all-commits] [llvm/llvm-project] 87ed73: [llvm-readobj] Display multiple function names for...

gbreynoo via All-commits all-commits at lists.llvm.org
Mon Jul 26 06:57:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87ed73fe6e01591998eed0dd769353f88919d056
      https://github.com/llvm/llvm-project/commit/87ed73fe6e01591998eed0dd769353f88919d056
  Author: gbreynoo <Owen.Reynolds at sony.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M llvm/test/Object/BPF/yaml2obj-elf-bpf-rel.yaml
    M llvm/test/tools/llvm-readobj/ELF/stack-sizes.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj] Display multiple function names for stack size entries

The current implementation of displaying .stack_size information
presumes that each entry represents a single function but this is not
always the case. For example with the use of ICF multiple functions can
be represented with the same code, meaning that the address found in a
.stack_size entry corresponds to multiple function symbols.
This change allows multiple function names to be displayed when
appropriate.

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




More information about the All-commits mailing list