LLVM
8.0.1
|
#include "llvm/Object/Archive.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Object/Binary.h"
#include "llvm/Object/Error.h"
#include "llvm/Support/Chrono.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <memory>
#include <string>
#include <system_error>
Go to the source code of this file.
Functions | |
static Error | malformedError (Twine Msg) |
Variables | |
static const char *const | Magic = "!<arch>\n" |
static const char *const | ThinMagic = "!<thin>\n" |
Definition at line 48 of file Archive.cpp.
References llvm::object::parse_failed, and llvm::Twine::str().
Referenced by llvm::object::ArchiveMemberHeader::getAccessMode(), llvm::object::ArchiveMemberHeader::getGID(), llvm::object::ArchiveMemberHeader::getLastModified(), llvm::object::ArchiveMemberHeader::getName(), llvm::object::Archive::Child::getNext(), llvm::object::ArchiveMemberHeader::getRawName(), llvm::object::ArchiveMemberHeader::getSize(), and llvm::object::ArchiveMemberHeader::getUID().
Definition at line 42 of file Archive.cpp.
Referenced by llvm::TargetLowering::BuildUDIV(), llvm::object::ObjectFile::createMachOObjectFile(), llvm::AppleAccelTableStaticTypeData::emit(), llvm::AccelTableBase::finalize(), llvm::CodeViewYAML::fromDebugS(), getMemsetValue(), llvm::RawInstrProfReader< IntPtrT >::hasFormat(), llvm::IndexedInstrProfReader::hasFormat(), llvm::sampleprof::SampleProfileReaderRawBinary::hasFormat(), llvm::sampleprof::SampleProfileReaderCompactBinary::hasFormat(), llvm::sampleprof::SampleProfileReaderGCC::hasFormat(), isWeak(), llvm::sampleprof::SampleProfileReaderCompactBinary::read(), and llvm::AppleAcceleratorTable::readAtoms().
Definition at line 43 of file Archive.cpp.