14#ifndef LLVM_OBJECT_GOFFOBJECTFILE_H
15#define LLVM_OBJECT_GOFFOBJECTFILE_H
65 void moveSymbolNext(
DataRefImpl &Symb)
const override;
93 void moveSectionNext(
DataRefImpl &Sec)
const override;
100 uint64_t getSectionAlignment(DataRefImpl Sec)
const override;
101 bool isSectionCompressed(DataRefImpl Sec)
const override {
return false; }
102 bool isSectionText(DataRefImpl Sec)
const override;
103 bool isSectionData(DataRefImpl Sec)
const override;
104 bool isSectionBSS(DataRefImpl Sec)
const override {
return false; }
105 bool isSectionVirtual(DataRefImpl Sec)
const override {
return false; }
113 const uint8_t *getSectionEdEsdRecord(DataRefImpl &Sec)
const;
114 const uint8_t *getSectionPrEsdRecord(DataRefImpl &Sec)
const;
115 const uint8_t *getSectionEdEsdRecord(uint32_t SectionIndex)
const;
116 const uint8_t *getSectionPrEsdRecord(uint32_t SectionIndex)
const;
117 uint32_t getSectionDefEsdId(DataRefImpl &Sec)
const;
120 void moveRelocationNext(DataRefImpl &Rel)
const override {}
121 uint64_t getRelocationOffset(DataRefImpl Rel)
const override {
return 0; }
122 symbol_iterator getRelocationSymbol(DataRefImpl Rel)
const override {
126 uint64_t getRelocationType(DataRefImpl Rel)
const override {
return 0; }
127 void getRelocationTypeName(DataRefImpl Rel,
128 SmallVectorImpl<char> &Result)
const override {}
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
static StringRef getSymbolName(SymbolKind SymKind)
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.
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
uint8_t getBytesInAddress() const override
The number of bytes used to represent an address in this object file format.
GOFFObjectFile(MemoryBufferRef Object, Error &Err)
static bool classof(const Binary *V)
bool is64Bit() const override
StringRef getFileFormatName() const override
friend class GOFFSymbolRef
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
ObjectFile(unsigned int Type, MemoryBufferRef Source)
const ObjectFile * getObject() const
static constexpr const StringLiteral & getSectionName(DebugSectionKind SectionKind)
Return the name of the section.
content_iterator< SectionRef > section_iterator
content_iterator< BasicSymbolRef > basic_symbol_iterator
content_iterator< RelocationRef > relocation_iterator
This is an optimization pass for GlobalISel generic memory operations.
bool isa(const From &Val)
isa<X> - Return true if the parameter to the template is an instance of one of the template type argu...
decltype(auto) cast(const From &Val)
cast<X> - Return the argument parameter cast to the specified type.
struct llvm::object::DataRefImpl::@005117267142344013370254144343227032034000327225 d