[llvm-objdump] - Improve the error message for "removing a section that is used by...
commitef2afce9d0b1d2652180d37e4a1bd3dbd4d3919c
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 28 Feb 2019 08:21:50 +0000 (28 08:21 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 28 Feb 2019 08:21:50 +0000 (28 08:21 +0000)
treea336c27cde4ebd6beacca1e951e534313657ec3b
parent75ca1430e8a6d41ea6c61d548a03947f4aafa0c3
[llvm-objdump] - Improve the error message for "removing a section that is used by relocation" case.

This refines/improves the error message introduced in D58625

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355074 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objcopy/ELF/strip-section-err.test
tools/llvm-objcopy/ELF/Object.cpp