LLVM 20.0.0git
Classes | Public Member Functions | Static Public Member Functions | List of all members
llvm::object::TapiUniversal Class Reference

#include "llvm/Object/TapiUniversal.h"

Inheritance diagram for llvm::object::TapiUniversal:
Inheritance graph
[legend]

Classes

class  object_iterator
 
class  ObjectForArch
 

Public Member Functions

 TapiUniversal (MemoryBufferRef Source, Error &Err)
 
 ~TapiUniversal () override
 
object_iterator begin_objects () const
 
object_iterator end_objects () const
 
iterator_range< object_iteratorobjects () const
 
const MachO::InterfaceFilegetInterfaceFile ()
 
uint32_t getNumberOfObjects () const
 
- Public Member Functions inherited from llvm::object::Binary
 Binary ()=delete
 
 Binary (const Binary &other)=delete
 
virtual ~Binary ()
 
virtual Error initContent ()
 
StringRef getData () const
 
StringRef getFileName () const
 
MemoryBufferRef getMemoryBufferRef () const
 
unsigned int getType () const
 
bool isObject () const
 
bool isSymbolic () const
 
bool isArchive () const
 
bool isMachOUniversalBinary () const
 
bool isTapiUniversal () const
 
bool isELF () const
 
bool isMachO () const
 
bool isCOFF () const
 
bool isXCOFF () const
 
bool isWasm () const
 
bool isOffloadFile () const
 
bool isCOFFImportFile () const
 
bool isIR () const
 
bool isGOFF () const
 
bool isMinidump () const
 
bool isTapiFile () const
 
bool isLittleEndian () const
 
bool isWinRes () const
 
Triple::ObjectFormatType getTripleObjectFormat () const
 

Static Public Member Functions

static Expected< std::unique_ptr< TapiUniversal > > create (MemoryBufferRef Source)
 
static bool classof (const Binary *v)
 
- Static Public Member Functions inherited from llvm::object::Binary
static Error checkOffset (MemoryBufferRef M, uintptr_t Addr, const uint64_t Size)
 

Additional Inherited Members

- Protected Types inherited from llvm::object::Binary
enum  {
  ID_Archive , ID_MachOUniversalBinary , ID_COFFImportFile , ID_IR ,
  ID_TapiUniversal , ID_TapiFile , ID_Minidump , ID_WinRes ,
  ID_Offload , ID_StartObjects , ID_COFF , ID_XCOFF32 ,
  ID_XCOFF64 , ID_ELF32L , ID_ELF32B , ID_ELF64L ,
  ID_ELF64B , ID_MachO32L , ID_MachO32B , ID_MachO64L ,
  ID_MachO64B , ID_GOFF , ID_Wasm , ID_EndObjects
}
 
- Protected Member Functions inherited from llvm::object::Binary
 Binary (unsigned int Type, MemoryBufferRef Source)
 
- Static Protected Member Functions inherited from llvm::object::Binary
static unsigned int getELFType (bool isLE, bool is64Bits)
 
static unsigned int getMachOType (bool isLE, bool is64Bits)
 
- Protected Attributes inherited from llvm::object::Binary
MemoryBufferRef Data
 

Detailed Description

Definition at line 28 of file TapiUniversal.h.

Constructor & Destructor Documentation

◆ TapiUniversal()

TapiUniversal::TapiUniversal ( MemoryBufferRef  Source,
Error Err 
)

Definition at line 24 of file TapiUniversal.cpp.

References llvm::MachO::TextAPIReader::get(), and Name.

◆ ~TapiUniversal()

TapiUniversal::~TapiUniversal ( )
overridedefault

Member Function Documentation

◆ begin_objects()

object_iterator llvm::object::TapiUniversal::begin_objects ( ) const
inline

Definition at line 97 of file TapiUniversal.h.

Referenced by objects().

◆ classof()

static bool llvm::object::TapiUniversal::classof ( const Binary v)
inlinestatic

Definition at line 110 of file TapiUniversal.h.

◆ create()

Expected< std::unique_ptr< TapiUniversal > > TapiUniversal::create ( MemoryBufferRef  Source)
static

Definition at line 56 of file TapiUniversal.cpp.

References llvm::Error::success().

Referenced by llvm::object::createBinary().

◆ end_objects()

object_iterator llvm::object::TapiUniversal::end_objects ( ) const
inline

Definition at line 98 of file TapiUniversal.h.

Referenced by objects().

◆ getInterfaceFile()

const MachO::InterfaceFile & llvm::object::TapiUniversal::getInterfaceFile ( )
inline

Definition at line 106 of file TapiUniversal.h.

◆ getNumberOfObjects()

uint32_t llvm::object::TapiUniversal::getNumberOfObjects ( ) const
inline

Definition at line 108 of file TapiUniversal.h.

◆ objects()

iterator_range< object_iterator > llvm::object::TapiUniversal::objects ( ) const
inline

Definition at line 102 of file TapiUniversal.h.

References begin_objects(), end_objects(), and llvm::make_range().


The documentation for this class was generated from the following files: