macho-dump: add code to print LC_ID_DYLIB load commands.
[oota-llvm.git] / lib / Object / MachOObjectFile.cpp
index dbfc07270a642afb3d40aa75c45f024448e0244d..5abd10068fa4fef2babc4bcc2986797d6f2972c3 100644 (file)
@@ -1721,6 +1721,12 @@ MachOObjectFile::getVersionMinLoadCommand(const LoadCommandInfo &L) const {
   return getStruct<MachO::version_min_command>(this, L.Ptr);
 }
 
+MachO::dylib_command
+MachOObjectFile::getDylibIDLoadCommand(const LoadCommandInfo &L) const {
+  return getStruct<MachO::dylib_command>(this, L.Ptr);
+}
+
+
 MachO::any_relocation_info
 MachOObjectFile::getRelocation(DataRefImpl Rel) const {
   DataRefImpl Sec;