]> granicus.if.org Git - llvm/commit
[llvm-readobj] Downgrade 'PT_DYNAMIC segment offset + size exceeds the size of the...
authorJordan Rupprecht <rupprecht@google.com>
Mon, 12 Aug 2019 14:05:37 +0000 (14:05 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Mon, 12 Aug 2019 14:05:37 +0000 (14:05 +0000)
commitc47bf98eb982a44bf4a87c4f7b077d817b14a568
tree342a348d019cd6a697c688dda891c4bf015866f4
parent39bc7ded13ecfb9a76a3a51b365a93906db726db
[llvm-readobj] Downgrade 'PT_DYNAMIC segment offset + size exceeds the size of the file' from an error to a warning

Summary: This allows llvm-readobj to print other useful information for truncated files instead of giving up.

Reviewers: jhenderson, grimar, MaskRay

Reviewed By: jhenderson, grimar, MaskRay

Subscribers: llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368576 91177308-0d34-0410-b5e6-96231b3b80d8
test/Object/invalid.test
test/tools/llvm-readobj/elf-malformed-pt-dynamic.test
tools/llvm-readobj/ELFDumper.cpp