14#ifndef LLVM_OBJECT_GOFFOBJECTFILE_H
15#define LLVM_OBJECT_GOFFOBJECTFILE_H
79 const uint8_t *getSymbolEsdRecord(
DataRefImpl Symb)
const;
84 void moveSectionNext(
DataRefImpl &Sec)
const override {}
88 uint64_t getSectionAddress(DataRefImpl Sec)
const override {
return 0; }
89 uint64_t getSectionSize(DataRefImpl Sec)
const override {
return 0; }
90 virtual Expected<ArrayRef<uint8_t>>
91 getSectionContents(DataRefImpl Sec)
const override {
92 return ArrayRef<uint8_t>();
94 uint64_t getSectionIndex(DataRefImpl Sec)
const override {
return 0; }
95 uint64_t getSectionAlignment(DataRefImpl Sec)
const override {
return 0; }
96 bool isSectionCompressed(DataRefImpl Sec)
const override {
return false; }
97 bool isSectionText(DataRefImpl Sec)
const override {
return false; }
98 bool isSectionData(DataRefImpl Sec)
const override {
return false; }
99 bool isSectionBSS(DataRefImpl Sec)
const override {
return false; }
100 bool isSectionVirtual(DataRefImpl Sec)
const override {
return false; }
108 const uint8_t *getSectionEdEsdRecord(DataRefImpl &Sec)
const;
109 const uint8_t *getSectionPrEsdRecord(DataRefImpl &Sec)
const;
110 const uint8_t *getSectionEdEsdRecord(
uint32_t SectionIndex)
const;
111 const uint8_t *getSectionPrEsdRecord(
uint32_t SectionIndex)
const;
114 void moveRelocationNext(DataRefImpl &Rel)
const override {}
115 uint64_t getRelocationOffset(DataRefImpl Rel)
const override {
return 0; }
116 symbol_iterator getRelocationSymbol(DataRefImpl Rel)
const override {
120 uint64_t getRelocationType(DataRefImpl Rel)
const override {
return 0; }
121 void getRelocationTypeName(DataRefImpl Rel,
122 SmallVectorImpl<char> &Result)
const override {}
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.
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.
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 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 isRelocatableObject() const override
True if this is a relocatable object (.o/.obj).
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.
content_iterator< RelocationRef > relocation_iterator
content_iterator< BasicSymbolRef > basic_symbol_iterator
This is an optimization pass for GlobalISel generic memory operations.