Add the option, -data-in-code, to llvm-objdump used with -macho to print the Mach-O data in code table.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226921 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kevin Enderby
2015-01-23 18:52:17 +00:00
parent 26ba4c13a7
commit 66e2ddc870
5 changed files with 61 additions and 2 deletions

View File

@ -894,7 +894,8 @@ int main(int argc, char **argv) {
&& !WeakBind
&& !(UniversalHeaders && MachOOpt)
&& !(ArchiveHeaders && MachOOpt)
&& !(IndirectSymbols && MachOOpt)) {
&& !(IndirectSymbols && MachOOpt)
&& !(DataInCode && MachOOpt)) {
cl::PrintHelpMessage();
return 2;
}