[llvm-objdump] - Disassemble non-executable sections if specifically requested.
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 5 Jun 2019 11:37:53 +0000 (11:37 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 5 Jun 2019 11:37:53 +0000 (11:37 +0000)
commitb42196661ba7ccfa3d68906ed52e0488305291b2
tree68cfb986cbf8347e6bc0edf1a64b81623ed948a0
parent5a81af547c2c7a3444e4b4a6b752c4fc1e5d95b1
[llvm-objdump] - Disassemble non-executable sections if specifically requested.

This is https://bugs.llvm.org/show_bug.cgi?id=41897.

Previously -d + -j .data had no effect, that wasn't consistent with GNU,
which proccesses .data in that case. With this patch we follow this behavior.

Diffeential revision: https://reviews.llvm.org/D62848

llvm-svn: 362596
llvm/test/tools/llvm-objdump/X86/section-filter-disasm.test [new file with mode: 0644]
llvm/test/tools/llvm-objdump/X86/section-filter-relocs.test
llvm/tools/llvm-objdump/llvm-objdump.cpp