summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2014-12-18 19:24:35 +0000
committerKevin Enderby <enderby@apple.com>2014-12-18 19:24:35 +0000
commitb4b7931748ca16b2a743f5b3f0499f7070686e69 (patch)
tree3efa4db8fabb697152a60f7d510856fbb8d2eabc /llvm/lib/Object/MachOObjectFile.cpp
parent2b0d0148342090b44a637c5b9f63a3ceda8e351c (diff)
downloadbcm5719-llvm-b4b7931748ca16b2a743f5b3f0499f7070686e69.tar.gz
bcm5719-llvm-b4b7931748ca16b2a743f5b3f0499f7070686e69.zip
Add printing the LC_SUB_FRAMEWORK load command with llvm-objdump’s -private-headers.
llvm-svn: 224534
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
-rw-r--r--llvm/lib/Object/MachOObjectFile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp
index 5bc1110823c..a5031f17939 100644
--- a/llvm/lib/Object/MachOObjectFile.cpp
+++ b/llvm/lib/Object/MachOObjectFile.cpp
@@ -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 {
OpenPOWER on IntegriCloud