[all-commits] [llvm/llvm-project] 7749e2: [llvm-readobj] - Don`t crash when --section-symbol...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Aug 26 04:13:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7749e2de20d82a6bb8b8beaa74b2a8dbd8232067
      https://github.com/llvm/llvm-project/commit/7749e2de20d82a6bb8b8beaa74b2a8dbd8232067
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-08-26 (Wed, 26 Aug 2020)

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/sections-ext.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj] - Don`t crash when --section-symbols is requested for an object w/o .symtab.

llvm-readobj crashes when `-S --section-symbols` is used
on an object that has no symbol table.

The patch fixes it.

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




More information about the All-commits mailing list