| /freebsd-14.2/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::loongarch64 || in loadObj() 64 ObjFile.getBinary()->getArch() == Triple::ppc64le || in loadObj() 65 ObjFile.getBinary()->getArch() == Triple::arm || in loadObj() 66 ObjFile.getBinary()->getArch() == Triple::aarch64)) in loadObj() 73 const auto &Sections = ObjFile.getBinary()->sections(); in loadObj() 94 if (ObjFile.getBinary()->isELF()) { in loadObj() 109 }(ObjFile.getBinary()); in loadObj() 114 object::getRelocationResolver(*ObjFile.getBinary()); in loadObj() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lld/COFF/ |
| H A D | DebugTypes.h | 33 class ObjFile; variable 43 TpiSource(COFFLinkerContext &ctx, TpiKind k, ObjFile *f); 123 ObjFile *file; 166 TpiSource *makeTpiSource(COFFLinkerContext &ctx, ObjFile *f); 169 TpiSource *makeUseTypeServerSource(COFFLinkerContext &ctx, ObjFile *file, 171 TpiSource *makePrecompSource(COFFLinkerContext &ctx, ObjFile *file); 172 TpiSource *makeUsePrecompSource(COFFLinkerContext &ctx, ObjFile *file,
|
| H A D | InputFiles.cpp | 137 void ObjFile::parseLazy() { in parseLazy() 155 void ObjFile::parse() { in parse() 188 void ObjFile::initializeChunks() { in initializeChunks() 277 void ObjFile::includeResourceChunks() { in includeResourceChunks() 281 void ObjFile::readAssociativeDefinition( in readAssociativeDefinition() 343 void ObjFile::maybeAssociateSEHForMingw( in maybeAssociateSEHForMingw() 379 void ObjFile::initializeSymbols() { in initializeSymbols() 464 void ObjFile::handleComdatSelection( in handleComdatSelection() 688 MachineTypes ObjFile::getMachineType() { in getMachineType() 705 void ObjFile::initializeFlags() { in initializeFlags() [all …]
|
| H A D | DebugTypes.cpp | 129 PrecompSource(COFFLinkerContext &ctx, ObjFile *f) : TpiSource(ctx, PCH, f) { in PrecompSource() 153 UsePrecompSource(COFFLinkerContext &ctx, ObjFile *f, PrecompRecord precomp) in UsePrecompSource() 165 PrecompSource *findPrecompSource(ObjFile *file, PrecompRecord &pr); 166 Expected<PrecompSource *> findPrecompMap(ObjFile *file, PrecompRecord &pr); 175 TpiSource::TpiSource(COFFLinkerContext &ctx, TpiKind k, ObjFile *f) in TpiSource() 186 TpiSource *lld::coff::makeTpiSource(COFFLinkerContext &ctx, ObjFile *file) { in makeTpiSource() 200 ObjFile *file, in makeUseTypeServerSource() 210 ObjFile *file, in makeUsePrecompSource() 289 static std::optional<ArrayRef<uint8_t>> getDebugH(ObjFile *file) { in getDebugH() 486 PrecompSource *UsePrecompSource::findPrecompSource(ObjFile *file, in findPrecompSource() [all …]
|
| H A D | SymbolTable.cpp | 58 cast<ObjFile>(file)->parseLazy(); in addFile() 61 if (auto *f = dyn_cast<ObjFile>(file)) { in addFile() 177 getSymbolLocations(ObjFile *file, uint32_t symIndex, size_t maxStrings) { in getSymbolLocations() 228 std::vector<std::string> getSymbolLocations(ObjFile *file, uint32_t symIndex) { in getSymbolLocations() 234 if (auto *o = dyn_cast<ObjFile>(file)) in getSymbolLocations() 442 for (ObjFile *file : ctx.objFileInstances) in reportProblemSymbols() 629 static std::string getSourceLocationObj(ObjFile *file, SectionChunk *sc, in getSourceLocationObj() 650 if (auto *o = dyn_cast<ObjFile>(file)) in getSourceLocation() 672 if (d && isa<ObjFile>(d->getFile())) { in reportDuplicate() 803 for (ObjFile *file : ctx.objFileInstances) { in getChunks() [all …]
|
| H A D | InputFiles.h | 129 class ObjFile : public InputFile { 131 explicit ObjFile(COFFLinkerContext &ctx, MemoryBufferRef m, bool lazy = false) 224 void enqueuePdbFile(StringRef path, ObjFile *fromFile); 322 StringRef path, ObjFile *fromFile);
|
| H A D | Symbols.cpp | 63 check(cast<ObjFile>(d->file)->getCOFFObj()->getSymbolName(d->sym)); in computeName() 101 size_t symSize = cast<ObjFile>(file)->getCOFFObj()->getSymbolTableEntrySize(); in getCOFFSymbol()
|
| H A D | Chunks.h | 37 class ObjFile; variable 221 ObjFile *file; 223 symbol_iterator(ObjFile *file, const coff_relocation *i) in symbol_iterator() 232 SectionChunk(ObjFile *file, const coff_section *header); 349 ObjFile *file;
|
| /freebsd-14.2/contrib/llvm-project/lld/ELF/ |
| H A D | InputFiles.cpp | 46 extern template void ObjFile<ELF32LE>::importCmseSymbols(); 47 extern template void ObjFile<ELF32BE>::importCmseSymbols(); 301 cast<ObjFile<ELFT>>(file)->parseLazy(); in doParseFile() 311 cast<ObjFile<ELFT>>(file)->parse(); in doParseFile() 334 cast<ObjFile<ELFT>>(file)->importCmseSymbols(); in doParseArmCMSEImportLib() 471 ObjFile<ELFT>::getVariableLoc(StringRef name) { in getVariableLoc() 1273 ObjFile<ELFT> *obj = make<ObjFile<ELFT>>(ekind, mb, archiveName); in isNonCommonDef() 1857 template class elf::ObjFile<ELF32LE>; member in elf 1858 template class elf::ObjFile<ELF32BE>; member in elf 1859 template class elf::ObjFile<ELF64LE>; member in elf [all …]
|
| H A D | InputSection.h | 33 template <class ELFT> class ObjFile; variable 127 InputSectionBase(ObjFile<ELFT> &file, const typename ELFT::Shdr &header, 151 template <class ELFT> ObjFile<ELFT> *getFile() const { in getFile() 152 return cast_or_null<ObjFile<ELFT>>(file); in getFile() 295 MergeInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, 356 EhInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, 379 InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
|
| H A D | InputSection.cpp | 45 static ArrayRef<uint8_t> getSectionContents(ObjFile<ELFT> &file, in getSectionContents() 90 InputSectionBase::InputSectionBase(ObjFile<ELFT> &file, in InputSectionBase() 368 const ObjFile<ELFT> &file; in copyRelocations() 399 const ObjFile<ELFT> *file = getFile<ELFT>(); in copyRelocations() 1225 EhInputSection::EhInputSection(ObjFile<ELFT> &f, in EhInputSection() 1350 MergeInputSection::MergeInputSection(ObjFile<ELFT> &f, in MergeInputSection() 1408 template MergeInputSection::MergeInputSection(ObjFile<ELF32LE> &, 1417 template EhInputSection::EhInputSection(ObjFile<ELF32LE> &, 1419 template EhInputSection::EhInputSection(ObjFile<ELF32BE> &, 1421 template EhInputSection::EhInputSection(ObjFile<ELF64LE> &, [all …]
|
| H A D | DWARF.cpp | 28 template <class ELFT> LLDDwarfObj<ELFT>::LLDDwarfObj(ObjFile<ELFT> *obj) { in LLDDwarfObj() 113 const ObjFile<ELFT> *file = sec.getFile<ELFT>(); in findAux()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | IRObjectFile.cpp | 98 Expected<std::unique_ptr<ObjectFile>> ObjFile = in findBitcodeInMemBuffer() local 100 if (!ObjFile) in findBitcodeInMemBuffer() 101 return ObjFile.takeError(); in findBitcodeInMemBuffer() 102 return findBitcodeInObject(*ObjFile->get()); in findBitcodeInMemBuffer()
|
| H A D | OffloadBinary.cpp | 279 Expected<std::unique_ptr<ObjectFile>> ObjFile = in extractOffloadBinaries() local 281 if (!ObjFile) in extractOffloadBinaries() 282 return ObjFile.takeError(); in extractOffloadBinaries() 283 return extractFromObject(*ObjFile->get(), Binaries); in extractOffloadBinaries()
|
| /freebsd-14.2/contrib/llvm-project/lld/MachO/ |
| H A D | LTO.h | 27 class ObjFile; variable 34 std::vector<ObjFile *> compile();
|
| H A D | Dwarf.h | 17 class ObjFile; variable 49 static std::unique_ptr<DwarfObject> create(ObjFile *);
|
| H A D | EhFrame.h | 57 EhReader(const ObjFile *file, ArrayRef<uint8_t> data, size_t dataOff) in EhReader() 72 const ObjFile *file;
|
| H A D | InputFiles.cpp | 117 if (!isa<ObjFile>(input) && !isa<DylibFile>(input)) in getPlatformInfos() 966 ObjFile::ObjFile(MemoryBufferRef mb, uint32_t modTime, StringRef archiveName, in ObjFile() function in ObjFile 986 template <class LP> void ObjFile::parse() { in parse() 1049 template <class LP> void ObjFile::parseLazy() { in parseLazy() 1080 void ObjFile::parseDebugInfo() { in parseDebugInfo() 1115 ArrayRef<uint8_t> ObjFile::getOptimizationHints() const { in getOptimizationHints() 1390 void ObjFile::registerEhFrames(Section &ehFrameSection) { in registerEhFrames() 1524 std::string ObjFile::sourceFile() const { in sourceFile() 1543 lld::DWARFCache *ObjFile::getDwarf() { in getDwarf() 2342 auto &f = cast<ObjFile>(file); in extract() [all …]
|
| H A D | Symbols.cpp | 108 ObjFile *Defined::getObjectFile() const { in getObjectFile() 109 return isec ? dyn_cast_or_null<ObjFile>(isec->getFile()) : nullptr; in getObjectFile()
|
| H A D | LTO.cpp | 191 std::vector<ObjFile *> BitcodeCompiler::compile() { in compile() 269 std::vector<ObjFile *> ret; in compile() 296 ret.push_back(make<ObjFile>( in compile()
|
| H A D | Target.h | 32 class ObjFile; variable 111 virtual void applyOptimizationHints(uint8_t *, const ObjFile &) const {}; in applyOptimizationHints() argument
|
| H A D | InputFiles.h | 89 friend class ObjFile; variable 160 class ObjFile final : public InputFile { 162 ObjFile(MemoryBufferRef mb, uint32_t modTime, StringRef archiveName,
|
| H A D | Dwarf.cpp | 20 std::unique_ptr<DwarfObject> DwarfObject::create(ObjFile *obj) { in create()
|
| /freebsd-14.2/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | AMDGPU.cpp | 48 return cast<ObjFile<ELF64LE>>(file)->getObj().getHeader().e_flags; in getEFlags() 113 uint8_t abiVersion = cast<ObjFile<ELF64LE>>(ctx.objectFiles[0]) in calcEFlags()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
| H A D | DWARFLinker.h | 546 DWARFFile &ObjFile; variable 564 DIECloner(DWARFLinker &Linker, DwarfEmitter *Emitter, DWARFFile &ObjFile, in DIECloner() argument 570 : Linker(Linker), Emitter(Emitter), ObjFile(ObjFile), in DIECloner()
|