projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add printing the LC_SUB_LIBRARY load command with llvm-objdump’s -private-headers.
[oota-llvm.git]
/
lib
/
Object
/
MachOObjectFile.cpp
diff --git
a/lib/Object/MachOObjectFile.cpp
b/lib/Object/MachOObjectFile.cpp
index 92981fe6b7e91798b3cc76b31640a98cad620778..f1348b9e633e6e94185200ea7accf4f8a3aef962 100644
(file)
--- a/
lib/Object/MachOObjectFile.cpp
+++ b/
lib/Object/MachOObjectFile.cpp
@@
-2322,6
+2322,11
@@
MachOObjectFile::getSubUmbrellaCommand(const LoadCommandInfo &L) const {
return getStruct<MachO::sub_umbrella_command>(this, L.Ptr);
}
return getStruct<MachO::sub_umbrella_command>(this, L.Ptr);
}
+MachO::sub_library_command
+MachOObjectFile::getSubLibraryCommand(const LoadCommandInfo &L) const {
+ return getStruct<MachO::sub_library_command>(this, L.Ptr);
+}
+
MachO::any_relocation_info
MachOObjectFile::getRelocation(DataRefImpl Rel) const {
DataRefImpl Sec;
MachO::any_relocation_info
MachOObjectFile::getRelocation(DataRefImpl Rel) const {
DataRefImpl Sec;