[PATCH] D11487: llvm-objdump --section, -j section filtering

Colin LeMahieu colinl at codeaurora.org
Fri Jul 24 09:15:04 PDT 2015


colinl created this revision.
colinl added reviewers: rafael, loladiro, majnemer.
colinl added a subscriber: llvm-commits.
colinl set the repository for this revision to rL LLVM.

This patch adds the --section and -j options to llvm-objdump to specify a section to dump.

One thing that needs to be addressed is the --section flag is in conflict with the MachO flag of the same name.  We either need to change the name of the filtering flag which might be unexpected behavior for people coming from other toolchains or change the MachO flag which would change existing behavior.

My recommendation would be changing the machO flag to --macho-section.

Repository:
  rL LLVM

http://reviews.llvm.org/D11487

Files:
  tools/llvm-objdump/llvm-objdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11487.30576.patch
Type: text/x-patch
Size: 5633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150724/e64b46c2/attachment.bin>


More information about the llvm-commits mailing list