]> granicus.if.org Git - llvm/commit
[llvm-objdump] Emit warning if --start-address/--stop-address specify range outside...
authorYuanfang Chen <yuanfang.chen@sony.com>
Wed, 24 Jul 2019 16:55:30 +0000 (16:55 +0000)
committerYuanfang Chen <yuanfang.chen@sony.com>
Wed, 24 Jul 2019 16:55:30 +0000 (16:55 +0000)
commit214f88cdcfba7ee7d181a06f4941c466b729308a
treec6d9b784eed1da2c58fbb5e6f5087ace8a597ff5
parent31ab4e43f9f55d449e47ffb40303bedff9021231
[llvm-objdump] Emit warning if --start-address/--stop-address specify range outside file's address range.

NB: the warning is about the input file itself regardless of the options used
such as `-r`, `-s` etc..

https://bugs.llvm.org/show_bug.cgi?id=41911

Reviewers: jhenderson, grimar, MaskRay, rupprecht

Reviewed by: MaskRay, jhenderson

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366923 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objdump/warn-on-out-of-range-start-stop-address.test [new file with mode: 0644]
tools/llvm-objdump/llvm-objdump.cpp