14#ifndef LLVM_OBJECT_GOFFOBJECTFILE_H
15#define LLVM_OBJECT_GOFFOBJECTFILE_H
87 const uint8_t *getSymbolEsdRecord(
DataRefImpl Symb)
const;
92 void moveSectionNext(
DataRefImpl &Sec)
const override;
99 uint64_t getSectionAlignment(DataRefImpl Sec)
const override;
100 bool isSectionCompressed(DataRefImpl Sec)
const override {
return false; }
101 bool isSectionText(DataRefImpl Sec)
const override;
102 bool isSectionData(DataRefImpl Sec)
const override;
103 bool isSectionBSS(DataRefImpl Sec)
const override {
return false; }
104 bool isSectionVirtual(DataRefImpl Sec)
const override {
return false; }
112 const uint8_t *getSectionEdEsdRecord(DataRefImpl &Sec)
const;
113 const uint8_t *getSectionPrEsdRecord(DataRefImpl &Sec)
const;
114 const uint8_t *getSectionEdEsdRecord(
uint32_t SectionIndex)
const;
115 const uint8_t *getSectionPrEsdRecord(
uint32_t SectionIndex)
const;
116 uint32_t getSectionDefEsdId(DataRefImpl &Sec)
const;
119 void moveRelocationNext(DataRefImpl &Rel)
const override {}
120 uint64_t getRelocationOffset(DataRefImpl Rel)
const override {
return 0; }
121 symbol_iterator getRelocationSymbol(DataRefImpl Rel)
const override {
125 uint64_t getRelocationType(DataRefImpl Rel)
const override {
return 0; }
126 void getRelocationTypeName(DataRefImpl Rel,
127 SmallVectorImpl<char> &Result)
const override {}
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
This file provides utility functions for converting between EBCDIC-1047 and UTF-8.
This file defines the DenseMap class.
This file implements an indexed map.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
static std::unique_ptr< PDBSymbol > getSymbolType(const PDBSymbol &Symbol)
Lightweight error class with error context and mandatory checking.
Tagged union holding either a T or a Error.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
StringRef - Represent a constant reference to a string, i.e.
Manages the enabling and disabling of subtarget specific features.
const SymbolicFile * getObject() const
DataRefImpl getRawDataRefImpl() const
Triple::ArchType getArch() const override
Expected< SubtargetFeatures > getFeatures() const override
section_iterator section_begin() const override
basic_symbol_iterator symbol_end() const override
uint8_t getBytesInAddress() const override
The number of bytes used to represent an address in this object file format.
static bool classof(const Binary *V)
bool isSectionReadOnlyData(DataRefImpl Sec) const
bool isSectionNoLoad(DataRefImpl Sec) const
bool is64Bit() const override
section_iterator section_end() const override
Expected< StringRef > getSymbolName(SymbolRef Symbol) const
void moveSymbolNext(DataRefImpl &Symb) const override
StringRef getFileFormatName() const override
basic_symbol_iterator symbol_begin() const override
bool isSectionZeroInit(DataRefImpl Sec) const
bool isRelocatableObject() const override
True if this is a relocatable object (.o/.obj).
GOFFSymbolRef(const SymbolRef &B)
Expected< SymbolRef::Type > getSymbolGOFFType() const
Expected< uint32_t > getSymbolGOFFFlags() const
const GOFFObjectFile * getObject() const
This class is the base class for all object file types.
friend class RelocationRef
This is a value type class that represents a single symbol in the list of symbols in the object file.
const ObjectFile * getObject() const
content_iterator< RelocationRef > relocation_iterator
content_iterator< BasicSymbolRef > basic_symbol_iterator
This is an optimization pass for GlobalISel generic memory operations.
struct llvm::object::DataRefImpl::@368 d