[llvm-objdump] Warn if no user specified sections (-j) are not found.
authorYuanfang Chen <yuanfang.chen@sony.com>
Tue, 2 Jul 2019 18:38:17 +0000 (18:38 +0000)
committerYuanfang Chen <yuanfang.chen@sony.com>
Tue, 2 Jul 2019 18:38:17 +0000 (18:38 +0000)
commitd16c162c9453db855503134fe29ae4a3c0bec936
tree7001de08035406756f971c28b712aeca36571b07
parenteee944e7f9e60df44714eb547d0b876ee5dc7290
[llvm-objdump] Warn if no user specified sections (-j) are not found.

Match GNU objdump.

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

Reviewers: jhenderson, grimar, MaskRay, rupprecht

Reviewed by: jhenderson, grimar, MaskRay

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

llvm-svn: 364955
llvm/test/tools/llvm-objdump/warn-missing-section.test [new file with mode: 0644]
llvm/tools/llvm-objdump/llvm-objdump.cpp