Add the options, -dylibs-used and -dylib-id to llvm-objdump used with -macho

to print the Mach-O dynamic shared libraries used by a linked image or the
library id of a shared library.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232406 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kevin Enderby
2015-03-16 20:08:09 +00:00
parent f4b6b048ad
commit 6250724c87
4 changed files with 78 additions and 1 deletions

View File

@ -908,6 +908,8 @@ int main(int argc, char **argv) {
&& !(DataInCode && MachOOpt)
&& !(LinkOptHints && MachOOpt)
&& !(InfoPlist && MachOOpt)
&& !(DylibsUsed && MachOOpt)
&& !(DylibId && MachOOpt)
&& !(DumpSections.size() != 0 && MachOOpt)) {
cl::PrintHelpMessage();
return 2;