LLVM API Documentation
#include <Archive.h>


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 (MemoryBuffer *source, error_code &ec) | |
| Kind | kind () const |
| child_iterator | begin_children (bool skip_internal=true) const |
| child_iterator | end_children () const |
| symbol_iterator | begin_symbols () const |
| symbol_iterator | end_symbols () const |
| child_iterator | findSym (StringRef name) const |
Static Public Member Functions | |
| static bool | classof (Binary const *v) |
Definition at line 64 of file Object/Archive.h.
Definition at line 213 of file Object/Archive.h.
| llvm::object::Archive::Archive | ( | MemoryBuffer * | source, |
| error_code & | ec | ||
| ) |
| Archive::child_iterator Archive::begin_children | ( | bool | skip_internal = true | ) | const |
Definition at line 171 of file Object/Archive.cpp.
References llvm::object::Binary::Data, llvm::MemoryBuffer::getBufferStart(), llvm::object::Archive::Child::getNext(), llvm::object::ArchiveMemberHeader::getSize(), isInternalMember(), Magic, llvm::LibFunc::strlen, and llvm::object::ToHeader().
| symbol_iterator llvm::object::Archive::begin_symbols | ( | ) | const |
Referenced by findSym().
Definition at line 230 of file Object/Archive.h.
References llvm::object::Binary::isArchive().
| Archive::child_iterator Archive::end_children | ( | ) | const |
Definition at line 182 of file Object/Archive.cpp.
Referenced by findSym(), and llvm::object::Archive::Child::getName().
| symbol_iterator llvm::object::Archive::end_symbols | ( | ) | const |
Referenced by findSym().
| Archive::child_iterator Archive::findSym | ( | StringRef | name | ) | const |
Definition at line 285 of file Object/Archive.cpp.
References begin_symbols(), end_children(), and end_symbols().
| Kind llvm::object::Archive::kind | ( | ) | const [inline] |
Definition at line 219 of file Object/Archive.h.
Referenced by llvm::object::Archive::Child::getName().