Searched refs:ObjFile (Results 1 - 25 of 47) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/lld/COFF/
H A DDebugTypes.h28 class ObjFile;
37 TpiSource(TpiKind k, ObjFile *f);
66 ObjFile *file;
69 TpiSource *makeTpiSource(ObjFile *file);
71 TpiSource *makeUseTypeServerSource(ObjFile *file,
73 TpiSource *makePrecompSource(ObjFile *file);
74 TpiSource *makeUsePrecompSource(ObjFile *file,
H A DInputFiles.cpp72 std::vector<ObjFile *> ObjFile::instances;
149 file = make<ObjFile>(mb, std::move(symbols));
183 void ObjFile::parse() {
201 const coff_section *ObjFile::getSection(uint32_t i) {
216 void ObjFile::initializeChunks() {
228 SectionChunk *ObjFile::readSection(uint32_t sectionNumber,
296 void ObjFile::includeResourceChunks() {
300 void ObjFile::readAssociativeDefinition(
305 void ObjFile
[all...]
H A DInputFiles.h135 class ObjFile : public InputFile { class in namespace:lld::coff
137 explicit ObjFile(MemoryBufferRef m) : InputFile(ObjectKind, m) {} function in class:lld::coff::ObjFile
138 explicit ObjFile(MemoryBufferRef m, std::vector<Symbol *> &&symbols) function in class:lld::coff::ObjFile
172 static std::vector<ObjFile *> instances;
314 static void enqueue(StringRef path, ObjFile *fromFile);
316 static PDBInputFile *findFromRecordPath(StringRef path, ObjFile *fromFile);
H A DDebugTypes.cpp70 UseTypeServerSource(ObjFile *f, TypeServer2Record ts)
87 PrecompSource(ObjFile *f) : TpiSource(PCH, f) {
111 UsePrecompSource(ObjFile *f, PrecompRecord precomp)
125 TpiSource::TpiSource(TpiKind k, ObjFile *f) : kind(k), file(f) {
132 TpiSource *lld::coff::makeTpiSource(ObjFile *file) {
140 TpiSource *lld::coff::makeUseTypeServerSource(ObjFile *file,
145 TpiSource *lld::coff::makePrecompSource(ObjFile *file) {
149 TpiSource *lld::coff::makeUsePrecompSource(ObjFile *file,
178 static Optional<ArrayRef<uint8_t>> getDebugH(ObjFile *file) {
383 Expected<const CVIndexMap *> findPrecompMap(ObjFile *fil
[all...]
H A DSymbolTable.cpp48 if (auto *f = dyn_cast<ObjFile>(file)) {
49 ObjFile::instances.push_back(f);
142 getSymbolLocations(ObjFile *file, uint32_t symIndex, size_t maxStrings) {
193 std::vector<std::string> getSymbolLocations(ObjFile *file, uint32_t symIndex) {
199 if (auto *o = dyn_cast<ObjFile>(file))
334 const std::vector<ObjFile *> objFiles,
377 for (ObjFile *file : objFiles)
411 /* localImports */ nullptr, ObjFile::instances,
475 ObjFile::instances, /* bitcode files no longer needed */ nullptr);
551 static std::string getSourceLocationObj(ObjFile *fil
[all...]
H A DLLDMapFile.cpp49 for (ObjFile *file : ObjFile::instances)
H A DSymbols.cpp60 check(cast<ObjFile>(d->file)->getCOFFObj()->getSymbolName(d->sym));
96 size_t symSize = cast<ObjFile>(file)->getCOFFObj()->getSymbolTableEntrySize();
H A DChunks.h37 class ObjFile;
190 ObjFile *file;
192 symbol_iterator(ObjFile *file, const coff_relocation *i)
201 SectionChunk(ObjFile *file, const coff_section *header);
302 ObjFile *file;
H A DPDB.cpp117 void addDebugSymbols(ObjFile *file, const CVIndexMap *indexMap);
119 void mergeSymbolRecords(ObjFile *file, const CVIndexMap &indexMap,
156 ObjFile &file;
191 DebugSHandler(PDBLinker &linker, ObjFile &file, const CVIndexMap *indexMap)
262 static void remapTypesInSymbolRecord(ObjFile *file, SymbolKind symKind,
508 void PDBLinker::mergeSymbolRecords(ObjFile *file, const CVIndexMap &indexMap,
863 void PDBLinker::addDebugSymbols(ObjFile *file, const CVIndexMap *indexMap) {
902 static void createModuleDBI(pdb::PDBFileBuilder &builder, ObjFile *file) {
964 for_each(ObjFile::instances,
965 [&](ObjFile *ob
[all...]
H A DDriver.cpp88 ObjFile::instances.clear();
220 symtab->addFile(make<ObjFile>(mbref));
278 obj = make<ObjFile>(mb);
941 for (ObjFile *obj : ObjFile::instances) {
1021 /// Call after ObjFile::Instances is complete.
1023 std::vector<ObjFile *> resourceObjFiles;
1025 for (ObjFile *f : ObjFile::instances) {
1043 for (ObjFile *
[all...]
H A DDriver.h207 ArrayRef<ObjFile *> objs);
H A DSymbolTable.h135 std::vector<std::string> getSymbolLocations(ObjFile *file, uint32_t symIndex);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/XRay/
H A DInstrumentationMap.cpp54 loadObj(StringRef Filename, object::OwningBinary<object::ObjectFile> &ObjFile, argument
61 if ((!ObjFile.getBinary()->isELF() && !ObjFile.getBinary()->isMachO()) ||
62 !(ObjFile.getBinary()->getArch() == Triple::x86_64 ||
63 ObjFile.getBinary()->getArch() == Triple::ppc64le ||
64 ObjFile.getBinary()->getArch() == Triple::arm ||
65 ObjFile.getBinary()->getArch() == Triple::aarch64))
72 const auto &Sections = ObjFile.getBinary()->sections();
95 if (ObjFile.getBinary()->isELF()) {
96 uint32_t RelativeRelocation = [](object::ObjectFile *ObjFile) {
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DIRObjectFile.cpp99 Expected<std::unique_ptr<ObjectFile>> ObjFile = local
101 if (!ObjFile)
102 return ObjFile.takeError();
103 return findBitcodeInObject(*ObjFile->get());
/freebsd-13-stable/contrib/llvm-project/lld/MachO/
H A DInputFiles.h69 class ObjFile : public InputFile { class in namespace:lld::macho
71 explicit ObjFile(MemoryBufferRef mb);
H A DInputFiles.cpp305 ObjFile::ObjFile(MemoryBufferRef mb) : InputFile(ObjKind, mb) { function in class:ObjFile
424 auto file = make<ObjFile>(mb);
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DInputFiles.cpp208 cast<ObjFile<ELFT>>(file)->parse();
241 static std::string getSrcMsgAux(ObjFile<ELFT> &file, const Symbol &sym,
265 return getSrcMsgAux(cast<ObjFile<ELF32LE>>(*this), sym, sec, offset);
267 return getSrcMsgAux(cast<ObjFile<ELF32BE>>(*this), sym, sec, offset);
269 return getSrcMsgAux(cast<ObjFile<ELF64LE>>(*this), sym, sec, offset);
271 return getSrcMsgAux(cast<ObjFile<ELF64BE>>(*this), sym, sec, offset);
275 template <class ELFT> DWARFCache *ObjFile<ELFT>::getDwarf() {
292 ObjFile<ELFT>::getVariableLoc(StringRef name) {
299 Optional<DILineInfo> ObjFile<ELFT>::getDILineInfo(InputSectionBase *s,
377 uint32_t ObjFile<ELF
1754 template class elf::ObjFile<ELF32LE>; member in class:elf
1755 template class elf::ObjFile<ELF32BE>; member in class:elf
1756 template class elf::ObjFile<ELF64LE>; member in class:elf
1757 template class elf::ObjFile<ELF64BE>; member in class:elf
[all...]
H A DInputSection.h31 template <class ELFT> class ObjFile;
107 InputSectionBase(ObjFile<ELFT> &file, const typename ELFT::Shdr &header,
123 // ObjFile<ELFT>, but in order to avoid ELFT, we use InputFile as
127 template <class ELFT> ObjFile<ELFT> *getFile() const {
128 return cast_or_null<ObjFile<ELFT>>(file);
273 MergeInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
332 EhInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
354 InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
H A DInputSection.cpp51 static ArrayRef<uint8_t> getSectionContents(ObjFile<ELFT> &file,
123 InputSectionBase::InputSectionBase(ObjFile<ELFT> &file,
369 InputSection::InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
415 const ObjFile<ELFT> *file = getFile<ELFT>();
1261 EhInputSection::EhInputSection(ObjFile<ELFT> &f,
1360 MergeInputSection::MergeInputSection(ObjFile<ELFT> &f,
1409 template InputSection::InputSection(ObjFile<ELF32LE> &, const ELF32LE::Shdr &,
1411 template InputSection::InputSection(ObjFile<ELF32BE> &, const ELF32BE::Shdr &,
1413 template InputSection::InputSection(ObjFile<ELF64LE> &, const ELF64LE::Shdr &,
1415 template InputSection::InputSection(ObjFile<ELF64B
[all...]
H A DDWARF.cpp28 template <class ELFT> LLDDwarfObj<ELFT>::LLDDwarfObj(ObjFile<ELFT> *obj) {
110 const ObjFile<ELFT> *file = sec.getFile<ELFT>();
H A DDWARF.h28 explicit LLDDwarfObj(ObjFile<ELFT> *obj);
H A DInputFiles.h182 template <class ELFT> class ObjFile : public ELFFileBase { class in namespace:lld::elf
200 ObjFile(MemoryBufferRef m, StringRef archiveName) : ELFFileBase(ObjKind, m) { function in class:lld::elf::ObjFile
/freebsd-13-stable/contrib/llvm-project/lld/ELF/Arch/
H A DAMDGPU.cpp44 return cast<ObjFile<ELF64LE>>(file)->getObj().getHeader()->e_flags;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSession.cpp128 const object::COFFObjectFile *ObjFile = local
130 if (!ObjFile)
135 if (Error E = ObjFile->getDebugPDBInfo(PdbInfo, PdbPath))
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinker.h526 DwarfFile &ObjFile; member in class:llvm::DWARFLinker::DIECloner
536 DIECloner(DWARFLinker &Linker, DwarfEmitter *Emitter, DwarfFile &ObjFile, argument
540 : Linker(Linker), Emitter(Emitter), ObjFile(ObjFile),

Completed in 209 milliseconds

12