[llvm-objdump] Added -j flag to filter sections that are operated on.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243526 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Colin LeMahieu
2015-07-29 15:45:39 +00:00
parent d63325d5ad
commit edbf9d742e
4 changed files with 95 additions and 16 deletions

Binary file not shown.

View File

@@ -0,0 +1,7 @@
// This test checks that --section works correctly
// RUN: llvm-objdump -h %p/Inputs/section-filter.obj -j=.text \
// RUN: -j=.bss | FileCheck %s
# CHECK: .text
# CHECK-NOT: .data
# CHECK: .bss