LLVM 20.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/MathExtras.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 65 of file ELFObjectFile.cpp.
References llvm::object::ELFObjectFile< ELFT >::create().
|
static |
Definition at line 291 of file ELFObjectFile.cpp.
|
static |
Definition at line 881 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::ELF::SHT_LLVM_BB_ADDR_MAP_V0, llvm::Expected< T >::takeError(), and llvm::dwarf::toString().
Referenced by llvm::object::ELFObjectFileBase::readBBAddrMap().
|
static |
Definition at line 939 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, Sym, llvm::Expected< T >::takeError(), and llvm::dwarf::toString().
Referenced by llvm::object::ELFObjectFileBase::readDynsymVersions().