From 3eff318cbac281d46e8c8dfef16ffccbceebc855 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sun, 7 Apr 2013 16:07:35 +0000 Subject: Remove MachOObjectFile::getObject. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178986 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Object/MachOObjectFile.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lib/Object/MachOObjectFile.cpp') diff --git a/lib/Object/MachOObjectFile.cpp b/lib/Object/MachOObjectFile.cpp index 86677231c4..fdce21bfd7 100644 --- a/lib/Object/MachOObjectFile.cpp +++ b/lib/Object/MachOObjectFile.cpp @@ -45,6 +45,20 @@ bool MachOObjectFile::is64Bit() const { return MachOObj->is64Bit(); } +const LoadCommandInfo & +MachOObjectFile::getLoadCommandInfo(unsigned Index) const { + return MachOObj->getLoadCommandInfo(Index); +} + +void MachOObjectFile::ReadULEB128s(uint64_t Index, + SmallVectorImpl &Out) const { + return MachOObj->ReadULEB128s(Index, Out); +} + +const macho::Header &MachOObjectFile::getHeader() const { + return MachOObj->getHeader(); +} + ObjectFile *ObjectFile::createMachOObjectFile(MemoryBuffer *Buffer) { error_code ec; std::string Err; -- cgit v1.2.3-18-g5258