Add printing the LC_SUB_FRAMEWORK load command with llvm-objdump’s -private-headers.
[oota-llvm.git] / lib / Object / MachOObjectFile.cpp
index 5bc1110823cebd3a5920d4946085bf5051eb2985..a5031f17939e7db5d5b21ff53f2efc71908dbb76 100644 (file)
@@ -2309,6 +2309,10 @@ MachOObjectFile::getEncryptionInfoCommand64(const LoadCommandInfo &L) const {
   return getStruct<MachO::encryption_info_command_64>(this, L.Ptr);
 }
 
+MachO::sub_framework_command
+MachOObjectFile::getSubFrameworkCommand(const LoadCommandInfo &L) const {
+  return getStruct<MachO::sub_framework_command>(this, L.Ptr);
+}
 
 MachO::any_relocation_info
 MachOObjectFile::getRelocation(DataRefImpl Rel) const {