| /freebsd-13.1/contrib/llvm-project/llvm/lib/XRay/ |
| H A D | InstrumentationMap.cpp | 61 if ((!ObjFile.getBinary()->isELF() && !ObjFile.getBinary()->isMachO()) || in loadObj() 62 !(ObjFile.getBinary()->getArch() == Triple::x86_64 || in loadObj() 63 ObjFile.getBinary()->getArch() == Triple::ppc64le || in loadObj() 64 ObjFile.getBinary()->getArch() == Triple::arm || in loadObj() 65 ObjFile.getBinary()->getArch() == Triple::aarch64)) in loadObj() 72 const auto &Sections = ObjFile.getBinary()->sections(); in loadObj() 95 if (ObjFile.getBinary()->isELF()) { in loadObj() 100 dyn_cast<object::ELF32BEObjectFile>(ObjFile)) in loadObj() 110 }(ObjFile.getBinary()); in loadObj() 115 object::getRelocationResolver(*ObjFile.getBinary()); in loadObj() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lld/COFF/ |
| H A D | DebugTypes.h | 36 class ObjFile; variable 45 TpiSource(TpiKind k, ObjFile *f); 146 ObjFile *file; 189 TpiSource *makeTpiSource(ObjFile *file); 191 TpiSource *makeUseTypeServerSource(ObjFile *file, 193 TpiSource *makePrecompSource(ObjFile *file); 194 TpiSource *makeUsePrecompSource(ObjFile *file,
|
| H A D | InputFiles.cpp | 72 std::vector<ObjFile *> ObjFile::instances; 183 void ObjFile::parse() { in parse() 216 void ObjFile::initializeChunks() { in initializeChunks() 305 void ObjFile::includeResourceChunks() { in includeResourceChunks() 309 void ObjFile::readAssociativeDefinition( in readAssociativeDefinition() 371 void ObjFile::maybeAssociateSEHForMingw( in maybeAssociateSEHForMingw() 407 void ObjFile::initializeSymbols() { in initializeSymbols() 492 void ObjFile::handleComdatSelection( in handleComdatSelection() 714 MachineTypes ObjFile::getMachineType() { in getMachineType() 731 void ObjFile::initializeFlags() { in initializeFlags() [all …]
|
| H A D | SymbolTable.cpp | 54 if (auto *f = dyn_cast<ObjFile>(file)) { in addFile() 55 ObjFile::instances.push_back(f); in addFile() 210 if (auto *o = dyn_cast<ObjFile>(file)) in getSymbolLocations() 378 const std::vector<ObjFile *> objFiles, in reportProblemSymbols() 421 for (ObjFile *file : objFiles) in reportProblemSymbols() 455 /* localImports */ nullptr, ObjFile::instances, in reportUnresolvable() 633 if (auto *o = dyn_cast<ObjFile>(file)) in getSourceLocation() 655 if (d && isa<ObjFile>(d->getFile())) { in reportDuplicate() 802 for (ObjFile *file : ObjFile::instances) { in getChunks() 884 ObjFile *obj = cast<ObjFile>(newObj); in addCombinedLTOObjects() [all …]
|
| H A D | InputFiles.h | 137 class ObjFile : public InputFile { 139 explicit ObjFile(MemoryBufferRef m) : InputFile(ObjectKind, m) {} in ObjFile() function 140 explicit ObjFile(MemoryBufferRef m, std::vector<Symbol *> &&symbols) in ObjFile() function 178 static std::vector<ObjFile *> instances; 326 static void enqueue(StringRef path, ObjFile *fromFile); 328 static PDBInputFile *findFromRecordPath(StringRef path, ObjFile *fromFile);
|
| H A D | DebugTypes.cpp | 104 UseTypeServerSource(ObjFile *f, TypeServer2Record ts) in UseTypeServerSource() 124 PrecompSource(ObjFile *f) : TpiSource(PCH, f) { in PrecompSource() 145 UsePrecompSource(ObjFile *f, PrecompRecord precomp) in UsePrecompSource() 167 TpiSource::TpiSource(TpiKind k, ObjFile *f) in TpiSource() 194 TpiSource *lld::coff::makeTpiSource(ObjFile *file) { in makeTpiSource() 206 TpiSource *lld::coff::makeUseTypeServerSource(ObjFile *file, in makeUseTypeServerSource() 211 TpiSource *lld::coff::makePrecompSource(ObjFile *file) { in makePrecompSource() 215 TpiSource *lld::coff::makeUsePrecompSource(ObjFile *file, in makeUsePrecompSource() 298 static Optional<ArrayRef<uint8_t>> getDebugH(ObjFile *file) { in getDebugH() 487 static PrecompSource *findPrecompSource(ObjFile *file, PrecompRecord &pr) { in findPrecompSource() [all …]
|
| H A D | Driver.cpp | 75 ObjFile::instances.clear(); in link() 291 obj = make<ObjFile>(mb); in addArchiveBuffer() 1008 for (ObjFile *file : ObjFile::instances) in parseCallGraphFile() 1046 for (ObjFile *obj : ObjFile::instances) { in readCallGraphsFromObjectFiles() 1088 for (ObjFile *obj : ObjFile::instances) { in findKeepUniqueSections() 1172 for (ObjFile *f : ObjFile::instances) { in convertResources() 1190 for (ObjFile *f : resourceObjFiles) in convertResources() 1194 ObjFile *f = make<ObjFile>(convertResToCOFF(resources, resourceObjFiles)); in convertResources() 2185 for (auto i = ObjFile::instances.begin(), e = ObjFile::instances.end(); in linkerMain() 2187 ObjFile *file = *i; in linkerMain() [all …]
|
| H A D | LLDMapFile.cpp | 49 for (ObjFile *file : ObjFile::instances) in getSymbols()
|
| H A D | Symbols.cpp | 60 check(cast<ObjFile>(d->file)->getCOFFObj()->getSymbolName(d->sym)); in computeName() 98 size_t symSize = cast<ObjFile>(file)->getCOFFObj()->getSymbolTableEntrySize(); in getCOFFSymbol()
|
| H A D | Chunks.h | 37 class ObjFile; variable 190 ObjFile *file; 192 symbol_iterator(ObjFile *file, const coff_relocation *i) in symbol_iterator() 201 SectionChunk(ObjFile *file, const coff_section *header); 316 ObjFile *file;
|
| H A D | MinGW.cpp | 257 parallelForEach(ObjFile::instances, [&](ObjFile *file) { in wrapSymbols()
|
| H A D | PDB.cpp | 112 void createModuleDBI(ObjFile *file); 132 Error writeAllModuleSymbolRecords(ObjFile *file, BinaryStreamWriter &writer); 191 ObjFile &file; 239 DebugSHandler(PDBLinker &linker, ObjFile &file, TpiSource *source) in DebugSHandler() 430 uint32_t storageBaseOffset, ObjFile *file) { in scopeStackClose() 590 ObjFile *file = debugChunk->file; in analyzeSymbolSubsection() 648 Error PDBLinker::writeAllModuleSymbolRecords(ObjFile *file, in writeAllModuleSymbolRecords() 718 static_cast<ObjFile *>(obj), writer); in commitSymbolsForObject() 1064 void PDBLinker::createModuleDBI(ObjFile *file) { in createModuleDBI() 1142 for_each(ObjFile::instances, [&](ObjFile *obj) { createModuleDBI(obj); }); in addObjectsToPDB() [all …]
|
| H A D | Writer.cpp | 227 void markSymbolsForRVATable(ObjFile *file, 230 void getSymbolsFromSections(ObjFile *file, 424 DenseMap<std::pair<ObjFile *, Defined *>, uint32_t> thunkSymtabIndices; in createThunks() 438 ObjFile *file = sc->file; in createThunks() 1217 for (ObjFile *file : ObjFile::instances) { in createSymbolAndStringTable() 1538 for (ObjFile *file : ObjFile::instances) { in createSEHTable() 1615 static void markSymbolsWithRelocations(ObjFile *file, in markSymbolsWithRelocations() 1645 for (ObjFile *file : ObjFile::instances) { in createGuardCFTables() 1718 void Writer::getSymbolsFromSections(ObjFile *file, in getSymbolsFromSections() 1758 void Writer::markSymbolsForRVATable(ObjFile *file, in markSymbolsForRVATable()
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | InputFiles.cpp | 213 cast<ObjFile<ELFT>>(file)->parse(); in doParseFile() 307 ObjFile<ELFT>::getVariableLoc(StringRef name) { in getVariableLoc() 1289 ObjFile<ELFT> *obj = make<ObjFile<ELFT>>(mb, archiveName); in isNonCommonDef() 1791 return make<ObjFile<ELF32LE>>(mb, archiveName); in createObjectFile() 1793 return make<ObjFile<ELF32BE>>(mb, archiveName); in createObjectFile() 1795 return make<ObjFile<ELF64LE>>(mb, archiveName); in createObjectFile() 1797 return make<ObjFile<ELF64BE>>(mb, archiveName); in createObjectFile() 1902 template class elf::ObjFile<ELF32LE>; member in elf 1903 template class elf::ObjFile<ELF32BE>; member in elf 1904 template class elf::ObjFile<ELF64LE>; member in elf [all …]
|
| H A D | InputSection.h | 31 template <class ELFT> class ObjFile; variable 107 InputSectionBase(ObjFile<ELFT> &file, const typename ELFT::Shdr &header, 127 template <class ELFT> ObjFile<ELFT> *getFile() const { in getFile() 128 return cast_or_null<ObjFile<ELFT>>(file); in getFile() 274 MergeInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, 333 EhInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, 355 InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
|
| H A D | InputSection.cpp | 52 static ArrayRef<uint8_t> getSectionContents(ObjFile<ELFT> &file, in getSectionContents() 139 InputSectionBase::InputSectionBase(ObjFile<ELFT> &file, in InputSectionBase() 415 const ObjFile<ELFT> *file = getFile<ELFT>(); in copyRelocations() 1300 EhInputSection::EhInputSection(ObjFile<ELFT> &f, in EhInputSection() 1404 MergeInputSection::MergeInputSection(ObjFile<ELFT> &f, in MergeInputSection() 1471 template MergeInputSection::MergeInputSection(ObjFile<ELF32LE> &, 1473 template MergeInputSection::MergeInputSection(ObjFile<ELF32BE> &, 1480 template EhInputSection::EhInputSection(ObjFile<ELF32LE> &, 1482 template EhInputSection::EhInputSection(ObjFile<ELF32BE> &, 1484 template EhInputSection::EhInputSection(ObjFile<ELF64LE> &, [all …]
|
| H A D | DWARF.cpp | 28 template <class ELFT> LLDDwarfObj<ELFT>::LLDDwarfObj(ObjFile<ELFT> *obj) { in LLDDwarfObj() 115 const ObjFile<ELFT> *file = sec.getFile<ELFT>(); in findAux()
|
| /freebsd-13.1/contrib/llvm-project/lld/MachO/ |
| H A D | LTO.cpp | 99 std::vector<ObjFile *> BitcodeCompiler::compile() { in compile() 135 std::vector<ObjFile *> ret; in compile() 149 ret.push_back(make<ObjFile>( in compile() 154 ret.push_back(make<ObjFile>(*file, 0, "")); in compile()
|
| H A D | LTO.h | 27 class ObjFile; variable 34 std::vector<ObjFile *> compile();
|
| H A D | Dwarf.h | 18 class ObjFile; variable 42 static std::unique_ptr<DwarfObject> create(ObjFile *);
|
| H A D | MapFile.cpp | 67 if (isa<ObjFile>(file)) in getSymbols() 121 if (isa<ObjFile>(file)) { in writeMapFile()
|
| H A D | InputFiles.cpp | 107 if (!isa<ObjFile>(input) && !isa<DylibFile>(input)) in getPlatformInfos() 231 void ObjFile::parseSections(ArrayRef<Section> sections) { in parseSections() 350 void ObjFile::parseRelocations(ArrayRef<Section> sectionHeaders, in parseRelocations() 564 macho::Symbol *ObjFile::parseNonSectionSymbol(const NList &sym, in parseNonSectionSymbol() 594 void ObjFile::parseSymbols(ArrayRef<typename LP::section> sectionHeaders, in parseSymbols() 740 ObjFile::ObjFile(MemoryBufferRef mb, uint32_t modTime, StringRef archiveName) in ObjFile() function in ObjFile 749 template <class LP> void ObjFile::parse() { in parse() 804 void ObjFile::parseDebugInfo() { in parseDebugInfo() 827 void ObjFile::parseDataInCode() { in parseDataInCode() 1327 template void ObjFile::parse<LP64>();
|
| H A D | Dwarf.cpp | 20 std::unique_ptr<DwarfObject> DwarfObject::create(ObjFile *obj) { in create()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Object/ |
| H A D | IRObjectFile.cpp | 99 Expected<std::unique_ptr<ObjectFile>> ObjFile = in findBitcodeInMemBuffer() local 101 if (!ObjFile) in findBitcodeInMemBuffer() 102 return ObjFile.takeError(); in findBitcodeInMemBuffer() 103 return findBitcodeInObject(*ObjFile->get()); in findBitcodeInMemBuffer()
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | AMDGPU.cpp | 48 return cast<ObjFile<ELF64LE>>(file)->getObj().getHeader().e_flags; in getEFlags() 111 uint8_t abiVersion = cast<ObjFile<ELF64LE>>(objectFiles[0])->getObj() in calcEFlags()
|