From b4b7931748ca16b2a743f5b3f0499f7070686e69 Mon Sep 17 00:00:00 2001 From: Kevin Enderby Date: Thu, 18 Dec 2014 19:24:35 +0000 Subject: Add printing the LC_SUB_FRAMEWORK load command with llvm-objdump’s -private-headers. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit llvm-svn: 224534 --- llvm/lib/Object/MachOObjectFile.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/Object/MachOObjectFile.cpp') 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(this, L.Ptr); } +MachO::sub_framework_command +MachOObjectFile::getSubFrameworkCommand(const LoadCommandInfo &L) const { + return getStruct(this, L.Ptr); +} MachO::any_relocation_info MachOObjectFile::getRelocation(DataRefImpl Rel) const { -- cgit v1.2.3