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

llvm-svn: 226921
This commit is contained in:
Kevin Enderby
2015-01-23 18:52:17 +00:00
parent 5cc1569c54
commit 69fe98da14
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;
}