From 52e4ce4a536705e8776c6026ae5bfca5d480ad55 Mon Sep 17 00:00:00 2001 From: Kevin Enderby Date: Fri, 19 Dec 2014 22:25:22 +0000 Subject: =?UTF-8?q?Add=20printing=20the=20LC=5FROUTINES=20load=20commands?= =?UTF-8?q?=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: 224627 --- llvm/lib/Object/MachOObjectFile.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'llvm/lib/Object/MachOObjectFile.cpp') diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp index b03c360..4543948 100644 --- a/llvm/lib/Object/MachOObjectFile.cpp +++ b/llvm/lib/Object/MachOObjectFile.cpp @@ -2332,6 +2332,16 @@ MachOObjectFile::getSubClientCommand(const LoadCommandInfo &L) const { return getStruct(this, L.Ptr); } +MachO::routines_command +MachOObjectFile::getRoutinesCommand(const LoadCommandInfo &L) const { + return getStruct(this, L.Ptr); +} + +MachO::routines_command_64 +MachOObjectFile::getRoutinesCommand64(const LoadCommandInfo &L) const { + return getStruct(this, L.Ptr); +} + MachO::any_relocation_info MachOObjectFile::getRelocation(DataRefImpl Rel) const { DataRefImpl Sec; -- cgit v1.1