[all-commits] [llvm/llvm-project] 396143: [llvm-readelf] - Do not crash when relocation refe...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Tue Jun 16 05:02:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3961438c7844b116dad621d652995dd1244a17d3
      https://github.com/llvm/llvm-project/commit/3961438c7844b116dad621d652995dd1244a17d3
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/reloc-zero-name-or-value.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readelf] - Do not crash when relocation references a STT_SECTION symbol for the null section.

Currently, llvm-readelf crashes when there is a STT_SECTION symbol for the null section
and this symbol is used in a relocation.

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




More information about the All-commits mailing list