diff options
author | Kevin Enderby <enderby@apple.com> | 2014-12-18 23:13:26 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2014-12-18 23:13:26 +0000 |
commit | a2bd8d98a18e4927b247dc2443b2a63d0c0feb24 (patch) | |
tree | 14be67778cc7330295a4adffbeeff4596e682c4b /llvm/lib/Object/MachOObjectFile.cpp | |
parent | a93d0023214191ae6b4bc7b950e437fc92a95c96 (diff) | |
download | bcm5719-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.cpp | 5 |
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; |