From 36c8d3ae63c0026b2d36a420496ab9f9f9d966a4 Mon Sep 17 00:00:00 2001 From: Kevin Enderby Date: Fri, 19 Dec 2014 19:48:16 +0000 Subject: =?UTF-8?q?Add=20printing=20the=20LC=5FSUB=5FLIBRARY=20load=20comm?= =?UTF-8?q?and=20with=20llvm-objdump=E2=80=99s=20-private-headers.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit llvm-svn: 224607 --- llvm/lib/Object/MachOObjectFile.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'llvm/lib/Object/MachOObjectFile.cpp') diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp index 92981fe..f1348b9 100644 --- a/llvm/lib/Object/MachOObjectFile.cpp +++ b/llvm/lib/Object/MachOObjectFile.cpp @@ -2322,6 +2322,11 @@ MachOObjectFile::getSubUmbrellaCommand(const LoadCommandInfo &L) const { return getStruct(this, L.Ptr); } +MachO::sub_library_command +MachOObjectFile::getSubLibraryCommand(const LoadCommandInfo &L) const { + return getStruct(this, L.Ptr); +} + MachO::any_relocation_info MachOObjectFile::getRelocation(DataRefImpl Rel) const { DataRefImpl Sec; -- cgit v1.1