LLVM 20.0.0git
|
#include "llvm/Object/Archive.h"
Definition at line 467 of file Archive.cpp.
References assert(), llvm::object::Archive::createArchiveMemberHeader(), llvm::StringRef::data(), llvm::Expected< T >::get(), llvm::StringRef::getAsInteger(), llvm::object::Binary::getData(), getRawName(), getRawSize(), llvm::object::Archive::isThin(), llvm::object::Archive::K_AIXBIG, llvm::object::Archive::kind(), malformedError(), Name, llvm::XCOFF::NameSize, llvm::Offset, llvm::StringRef::size(), Size, and llvm::Expected< T >::takeError().
Definition at line 461 of file Archive.cpp.
References llvm::object::Archive::createArchiveMemberHeader().
Definition at line 177 of file Archive.h.
References llvm::CallingConv::C.
|
inline |
Definition at line 183 of file Archive.h.
References llvm::CallingConv::C.
|
inline |
Definition at line 238 of file Archive.h.
Referenced by llvm::NewArchiveMember::getOldMember().
Expected< std::unique_ptr< Binary > > Archive::Child::getAsBinary | ( | LLVMContext * | Context = nullptr | ) | const |
Definition at line 657 of file Archive.cpp.
References llvm::object::createBinary(), llvm::Expected< T >::get(), llvm::object::Binary::getMemoryBufferRef(), and llvm::Expected< T >::takeError().
Definition at line 572 of file Archive.cpp.
References llvm::object::Binary::Data, llvm::errorCodeToError(), llvm::Expected< T >::get(), llvm::ErrorOr< T >::getError(), llvm::MemoryBuffer::getFile(), getSize(), llvm::object::Archive::isThin(), Size, and llvm::Expected< T >::takeError().
uint64_t Archive::Child::getChildOffset | ( | ) | const |
Definition at line 625 of file Archive.cpp.
References llvm::object::Binary::Data.
Referenced by getDataOffset().
|
inline |
Definition at line 249 of file Archive.h.
References getChildOffset().
Expected< std::string > Archive::Child::getFullName | ( | ) | const |
Definition at line 554 of file Archive.cpp.
References llvm::sys::path::append(), assert(), getName(), llvm::sys::path::is_absolute(), llvm::object::Archive::isThin(), Name, llvm::sys::path::parent_path(), and llvm::Expected< T >::takeError().
Definition at line 236 of file Archive.h.
Referenced by llvm::NewArchiveMember::getOldMember().
|
inline |
Definition at line 227 of file Archive.h.
Referenced by llvm::NewArchiveMember::getOldMember().
Expected< MemoryBufferRef > Archive::Child::getMemoryBufferRef | ( | ) | const |
Definition at line 645 of file Archive.cpp.
References llvm::createFileError(), llvm::Expected< T >::get(), getName(), Name, and llvm::Expected< T >::takeError().
Referenced by llvm::NewArchiveMember::getOldMember().
Definition at line 632 of file Archive.cpp.
References llvm::Expected< T >::get(), Name, and llvm::Expected< T >::takeError().
Expected< Archive::Child > Archive::Child::getNext | ( | ) | const |
Definition at line 594 of file Archive.cpp.
References llvm::consumeError(), llvm::object::Binary::Data, llvm::Expected< T >::get(), getName(), malformedError(), llvm::Offset, llvm::Error::success(), and llvm::Expected< T >::takeError().
|
inline |
Definition at line 548 of file Archive.cpp.
Referenced by Child().
Definition at line 542 of file Archive.cpp.
References llvm::object::Binary::Data.
Definition at line 235 of file Archive.h.
Referenced by llvm::NewArchiveMember::getOldMember().
Definition at line 190 of file Archive.h.
References llvm::CallingConv::C.
Definition at line 202 of file Archive.h.
References llvm::CallingConv::C.
Definition at line 215 of file Archive.h.
References assert(), and llvm::StringRef::begin().