|
LLVM 22.0.0git
|
#include "llvm/Object/ELFObjectFile.h"#include "llvm/BinaryFormat/ELF.h"#include "llvm/MC/MCInstrAnalysis.h"#include "llvm/MC/TargetRegistry.h"#include "llvm/Object/ELF.h"#include "llvm/Object/ELFTypes.h"#include "llvm/Object/Error.h"#include "llvm/Support/ARMAttributeParser.h"#include "llvm/Support/ARMBuildAttributes.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/HexagonAttributeParser.h"#include "llvm/Support/RISCVAttributeParser.h"#include "llvm/Support/RISCVAttributes.h"#include "llvm/TargetParser/RISCVISAInfo.h"#include "llvm/TargetParser/SubtargetFeature.h"#include "llvm/TargetParser/Triple.h"#include <algorithm>#include <cstddef>#include <cstdint>#include <memory>#include <optional>#include <string>#include <utility>Go to the source code of this file.
Functions | |
| template<class ELFT> | |
| static Expected< std::unique_ptr< ELFObjectFile< ELFT > > > | createPtr (MemoryBufferRef Object, bool InitContent) |
| static std::optional< std::string > | hexagonAttrToFeatureString (unsigned Attr) |
| template<class ELFT> | |
| static Expected< std::vector< BBAddrMap > > | readBBAddrMapImpl (const ELFFile< ELFT > &EF, std::optional< unsigned > TextSectionIndex, std::vector< PGOAnalysisMap > *PGOAnalyses) |
| template<class ELFT> | |
| static Expected< std::vector< VersionEntry > > | readDynsymVersionsImpl (const ELFFile< ELFT > &EF, ELFObjectFileBase::elf_symbol_iterator_range Symbols) |
|
static |
Definition at line 64 of file ELFObjectFile.cpp.
References llvm::object::ELFObjectFile< ELFT >::create(), and E().
Referenced by llvm::object::ObjectFile::createELFObjectFile().
|
static |
Definition at line 290 of file ELFObjectFile.cpp.
|
static |
Definition at line 930 of file ELFObjectFile.cpp.
References assert(), llvm::cantFail(), llvm::object::createError(), llvm::object::ELFFile< ELFT >::decodeBBAddrMap(), llvm::object::describe(), llvm::ELF::ET_REL, llvm::object::ELFFile< ELFT >::getHeader(), llvm::object::ELFFile< ELFT >::getSection(), llvm::object::ELFFile< ELFT >::getSectionAndRelocations(), llvm::object::ELFFile< ELFT >::sections(), llvm::ELF::SHT_LLVM_BB_ADDR_MAP, llvm::Expected< T >::takeError(), and llvm::toString().
Referenced by llvm::object::ELFObjectFileBase::readBBAddrMap().
|
static |
Definition at line 987 of file ELFObjectFile.cpp.
References llvm::cantFail(), llvm::object::createError(), llvm::object::describe(), llvm::object::ELFFile< ELFT >::getSymbolVersionByIndex(), I, llvm::object::ELFFile< ELFT >::loadVersionMap(), llvm::object::ELFFile< ELFT >::sections(), llvm::object::BasicSymbolRef::SF_Undefined, llvm::ELF::SHT_GNU_verdef, llvm::ELF::SHT_GNU_verneed, llvm::ELF::SHT_GNU_versym, llvm::Expected< T >::takeError(), and llvm::toString().
Referenced by llvm::object::ELFObjectFileBase::readDynsymVersions().