[all-commits] [llvm/llvm-project] 275bed: [llvm-readelf/obj] - Change the return type of the...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Tue Aug 25 02:19:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 275bed899e96e384e90ad5e9874171aa86412f65
      https://github.com/llvm/llvm-project/commit/275bed899e96e384e90ad5e9874171aa86412f65
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-08-25 (Tue, 25 Aug 2020)

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/dyn-symbols.test
    M llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readelf/obj] - Change the return type of the `createDRI(...)` to `Expected<>`

This allows to get rid of "Invalid data was encountered while parsing the file"
error reported in cases when sh_size/sh_offset of sections are broken.

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




More information about the All-commits mailing list