LLVM API Documentation

Classes | Public Types | Public Member Functions | Static Public Member Functions
llvm::object::Archive Class Reference

#include <Archive.h>

Inheritance diagram for llvm::object::Archive:
Inheritance graph
[legend]
Collaboration diagram for llvm::object::Archive:
Collaboration graph
[legend]

List of all members.

Classes

class  Child
class  child_iterator
class  Symbol
class  symbol_iterator

Public Types

enum  Kind { K_GNU, K_BSD, K_COFF }

Public Member Functions

 Archive (MemoryBufferRef Source, std::error_code &EC)
Kind kind () const
child_iterator child_begin (bool SkipInternal=true) const
child_iterator child_end () const
symbol_iterator symbol_begin () const
symbol_iterator symbol_end () const
child_iterator findSym (StringRef name) const
bool hasSymbolTable () const

Static Public Member Functions

static ErrorOr
< std::unique_ptr< Archive > > 
create (MemoryBufferRef Source)
static bool classof (Binary const *v)

Detailed Description

Definition at line 47 of file Archive.h.


Member Enumeration Documentation

Enumerator:
K_GNU 
K_BSD 
K_COFF 

Definition at line 169 of file Archive.h.


Constructor & Destructor Documentation

Archive::Archive ( MemoryBufferRef  Source,
std::error_code &  EC 
)

Member Function Documentation

static bool llvm::object::Archive::classof ( Binary const v) [inline, static]

Definition at line 186 of file Archive.h.

References llvm::object::Binary::isArchive().

ErrorOr< std::unique_ptr< Archive > > Archive::create ( MemoryBufferRef  Source) [static]

Definition at line 179 of file Archive.cpp.

References Archive(), and llvm::MipsISD::Ret.

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

Definition at line 494 of file Archive.cpp.

References child_end().

Referenced by symbol_begin(), and symbol_end().

Kind llvm::object::Archive::kind ( ) const [inline]

Definition at line 175 of file Archive.h.

Referenced by symbol_begin(), and symbol_end().


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