Lines Matching defs:ObjectFile

1 //===- ObjectFile.h - File format independent object file -------*- C++ -*-===//
10 // This file declares a file format independent ObjectFile class.
29 class ObjectFile;
40 const ObjectFile *OwningObject;
45 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
73 const ObjectFile *getObjectFile() const;
84 const ObjectFile *OwningObject;
89 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
121 const ObjectFile *getObject() const;
141 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner);
157 const ObjectFile *getObject() const;
165 cast<ObjectFile>(B->getObject()))) {}
178 /// ObjectFile - This class is the base class for all object file types.
181 class ObjectFile : public SymbolicFile {
183 ObjectFile() = delete;
184 ObjectFile(const ObjectFile &other) = delete;
187 ObjectFile(unsigned int Type, MemoryBufferRef Source);
294 /// @returns Pointer to ObjectFile subclass to handle this type of object.
297 /// @brief Create ObjectFile from path.
298 static ErrorOr<OwningBinary<ObjectFile>>
301 static ErrorOr<std::unique_ptr<ObjectFile>>
303 static ErrorOr<std::unique_ptr<ObjectFile>>
316 static ErrorOr<std::unique_ptr<ObjectFile>>
324 inline SymbolRef::SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner)
355 inline const ObjectFile *SymbolRef::getObject() const {
357 return cast<ObjectFile>(O);
363 const ObjectFile *Owner)
440 inline const ObjectFile *SectionRef::getObject() const {
446 const ObjectFile *Owner)
492 inline const ObjectFile *RelocationRef::getObjectFile() const {