summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2014-12-18 23:13:26 +0000
committerKevin Enderby <enderby@apple.com>2014-12-18 23:13:26 +0000
commita2bd8d98a18e4927b247dc2443b2a63d0c0feb24 (patch)
tree14be67778cc7330295a4adffbeeff4596e682c4b /llvm/lib/Object/MachOObjectFile.cpp
parenta93d0023214191ae6b4bc7b950e437fc92a95c96 (diff)
downloadbcm5719-llvm-a2bd8d98a18e4927b247dc2443b2a63d0c0feb24.tar.gz
bcm5719-llvm-a2bd8d98a18e4927b247dc2443b2a63d0c0feb24.zip
Add printing the LC_SUB_UMBRELLA load command with llvm-objdump’s -private-headers.
llvm-svn: 224548
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
-rw-r--r--llvm/lib/Object/MachOObjectFile.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp
index a5031f17939..fd086af6d52 100644
--- a/llvm/lib/Object/MachOObjectFile.cpp
+++ b/llvm/lib/Object/MachOObjectFile.cpp
@@ -2314,6 +2314,11 @@ MachOObjectFile::getSubFrameworkCommand(const LoadCommandInfo &L) const {
return getStruct<MachO::sub_framework_command>(this, L.Ptr);
}
+MachO::sub_umbrella_command
+MachOObjectFile::getSubUmbrellaCommand(const LoadCommandInfo &L) const {
+ return getStruct<MachO::sub_umbrella_command>(this, L.Ptr);
+}
+
MachO::any_relocation_info
MachOObjectFile::getRelocation(DataRefImpl Rel) const {
DataRefImpl Sec;
OpenPOWER on IntegriCloud