LLVM 20.0.0git
|
#include "llvm/Object/Archive.h"
Definition at line 468 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 462 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 658 of file Archive.cpp.
References llvm::object::createBinary(), llvm::Expected< T >::get(), llvm::object::Binary::getMemoryBufferRef(), and llvm::Expected< T >::takeError().
Definition at line 573 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 626 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 555 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 646 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 633 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 595 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 549 of file Archive.cpp.
Referenced by Child().
Definition at line 543 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().