| /freebsd/contrib/llvm-project/llvm/lib/XRay/ |
| H A D | InstrumentationMap.cpp | 53 loadObj(StringRef Filename, object::OwningBinary<object::ObjectFile> &ObjFile, in loadObj() argument 60 if ((!ObjFile.getBinary()->isELF() && !ObjFile.getBinary()->isMachO()) || in loadObj() 61 !(ObjFile.getBinary()->getArch() == Triple::x86_64 || in loadObj() 62 ObjFile.getBinary()->getArch() == Triple::loongarch64 || 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() 66 ObjFile.getBinary()->getArch() == Triple::riscv64)) in loadObj() 73 const auto &Sections = ObjFile.getBinary()->sections(); in loadObj() 94 if (ObjFile.getBinary()->isELF()) { in loadObj() [all …]
|
| /freebsd/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 | 269 ObjFile::ObjFile(SymbolTable &symtab, COFFObjectFile *coffObj, bool lazy) in ObjFile() function in ObjFile 273 ObjFile *ObjFile::create(COFFLinkerContext &ctx, MemoryBufferRef m, bool lazy) { in create() 284 return make<ObjFile>(ctx.getSymtab(MachineTypes(obj->getMachine())), obj, in create() 288 void ObjFile::parseLazy() { in parseLazy() 312 void ObjFile::initializeECThunks() { in initializeECThunks() 341 void ObjFile::parse() { in parse() 350 const coff_section *ObjFile::getSection(uint32_t i) { in getSection() 365 void ObjFile::initializeChunks() { in initializeChunks() 377 SectionChunk *ObjFile::readSection(uint32_t sectionNumber, in readSection() 460 void ObjFile::includeResourceChunks() { in includeResourceChunks() [all …]
|
| H A D | DebugTypes.cpp | 108 UseTypeServerSource(COFFLinkerContext &ctx, ObjFile *f, TypeServer2Record ts) in UseTypeServerSource() 128 PrecompSource(COFFLinkerContext &ctx, ObjFile *f) : TpiSource(ctx, PCH, f) { in PrecompSource() 152 UsePrecompSource(COFFLinkerContext &ctx, ObjFile *f, PrecompRecord precomp) in UsePrecompSource() 164 PrecompSource *findPrecompSource(ObjFile *file, PrecompRecord &pr); 165 Expected<PrecompSource *> findPrecompMap(ObjFile *file, PrecompRecord &pr); 174 TpiSource::TpiSource(COFFLinkerContext &ctx, TpiKind k, ObjFile *f) in TpiSource() 185 TpiSource *lld::coff::makeTpiSource(COFFLinkerContext &ctx, ObjFile *file) { in makeTpiSource() 199 ObjFile *file, in makeUseTypeServerSource() 204 TpiSource *lld::coff::makePrecompSource(COFFLinkerContext &ctx, ObjFile *file) { in makePrecompSource() 209 ObjFile *file, in makeUsePrecompSource() [all …]
|
| H A D | InputFiles.h | 136 class ObjFile : public InputFile { 138 static ObjFile *create(COFFLinkerContext &ctx, MemoryBufferRef mb, 140 explicit ObjFile(SymbolTable &symtab, COFFObjectFile *coffObj, bool lazy); 233 void enqueuePdbFile(StringRef path, ObjFile *fromFile); 334 StringRef path, ObjFile *fromFile);
|
| H A D | Symbols.cpp | 65 check(cast<ObjFile>(d->file)->getCOFFObj()->getSymbolName(d->sym)); in computeName() 102 size_t symSize = cast<ObjFile>(file)->getCOFFObj()->getSymbolTableEntrySize(); in getCOFFSymbol()
|
| H A D | Chunks.h | 38 class ObjFile; variable 240 ObjFile *file; 242 symbol_iterator(ObjFile *file, const coff_relocation *i) in symbol_iterator() 251 SectionChunk(ObjFile *file, const coff_section *header, Kind k = SectionKind); 367 ObjFile *file; 417 SectionChunkEC(ObjFile *file, const coff_section *header) in SectionChunkEC()
|
| H A D | SymbolTable.cpp | 136 getSymbolLocations(ObjFile *file, uint32_t symIndex, size_t maxStrings) { in getSymbolLocations() 187 std::vector<std::string> getSymbolLocations(ObjFile *file, uint32_t symIndex) { in getSymbolLocations() 193 if (auto *o = dyn_cast<ObjFile>(file)) in getSymbolLocations() 417 for (ObjFile *file : ctx.objFileInstances) in reportProblemSymbols() 651 parallelForEach(ctx.objFileInstances, [&](ObjFile *file) { in initializeECThunks() 798 static std::string getSourceLocationObj(ObjFile *file, SectionChunk *sc, in getSourceLocationObj() 819 if (auto *o = dyn_cast<ObjFile>(file)) in getSourceLocation() 841 if (d && isa<ObjFile>(d->getFile())) { in reportDuplicate() 1421 ObjFile *obj = cast<ObjFile>(newObj); in compileBitcodeFiles()
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | InputFiles.cpp | 45 extern template void ObjFile<ELF32LE>::importCmseSymbols(); 46 extern template void ObjFile<ELF32BE>::importCmseSymbols(); 47 extern template void ObjFile<ELF64LE>::importCmseSymbols(); 48 extern template void ObjFile<ELF64BE>::importCmseSymbols(); 313 cast<ObjFile<ELFT>>(file)->parseLazy(); in doParseFile() 323 cast<ObjFile<ELFT>>(file)->parse(); in doParseFile() 342 extern template void ObjFile<ELF32LE>::importCmseSymbols(); 343 extern template void ObjFile<ELF32BE>::importCmseSymbols(); 344 extern template void ObjFile<ELF64LE>::importCmseSymbols(); 345 extern template void ObjFile<ELF64BE>::importCmseSymbols(); [all …]
|
| H A D | InputSection.h | 33 template <class ELFT> class ObjFile; variable 157 InputSectionBase(ObjFile<ELFT> &file, const typename ELFT::Shdr &header, 198 template <class ELFT> ObjFile<ELFT> *getFile() const { in getFile() 199 return cast<ObjFile<ELFT>>(file); in getFile() 336 MergeInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, 397 EhInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, 421 InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
|
| H A D | InputSection.cpp | 47 static ArrayRef<uint8_t> getSectionContents(ObjFile<ELFT> &file, in getSectionContents() 97 InputSectionBase::InputSectionBase(ObjFile<ELFT> &file, in InputSectionBase() 144 auto *f = cast<ObjFile<ELFT>>(file); in relsOrRelas() 398 InputSection::InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, in InputSection() 447 const ObjFile<ELFT> &file; in copyRelocations() 478 const ObjFile<ELFT> *file = getFile<ELFT>(); in copyRelocations() 1343 EhInputSection::EhInputSection(ObjFile<ELFT> &f, in EhInputSection() 1471 MergeInputSection::MergeInputSection(ObjFile<ELFT> &f, in MergeInputSection() 1514 template InputSection::InputSection(ObjFile<ELF32LE> &, const ELF32LE::Shdr &, 1516 template InputSection::InputSection(ObjFile<ELF32BE> &, const ELF32BE::Shdr &, [all …]
|
| H A D | DWARF.cpp | 25 template <class ELFT> LLDDwarfObj<ELFT>::LLDDwarfObj(ObjFile<ELFT> *obj) { in LLDDwarfObj() 111 const ObjFile<ELFT> *file = sec.getFile<ELFT>(); in findAux()
|
| /freebsd/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/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 | Symbols.cpp | 108 ObjFile *Defined::getObjectFile() const { in getObjectFile() 109 return originalIsec ? dyn_cast_or_null<ObjFile>(originalIsec->getFile()) in getObjectFile()
|
| H A D | InputFiles.cpp | 115 if (!isa<ObjFile>(input) && !isa<DylibFile>(input)) in getPlatformInfos() 339 void ObjFile::parseSections(ArrayRef<SectionHeader> sectionHeaders) { in parseSections() 425 void ObjFile::splitEhFrames(ArrayRef<uint8_t> data, Section &ehFrameSection) { in splitEhFrames() 531 void ObjFile::parseRelocations(ArrayRef<SectionHeader> sectionHeaders, in parseRelocations() 755 macho::Symbol *ObjFile::parseNonSectionSymbol(const NList &sym, in parseNonSectionSymbol() 797 void ObjFile::parseSymbols(ArrayRef<typename LP::section> sectionHeaders, in parseSymbols() 952 void ObjFile::parseLinkerOptions(SmallVectorImpl<StringRef> &LCLinkerOptions) { in parseLinkerOptions() 964 ObjFile::ObjFile(MemoryBufferRef mb, uint32_t modTime, StringRef archiveName, in ObjFile() function in ObjFile 984 template <class LP> void ObjFile::parse() { in parse() 1047 template <class LP> void ObjFile::parseLazy() { in parseLazy() [all …]
|
| H A D | ObjC.cpp | 244 auto objFile = dyn_cast_or_null<ObjFile>(inputFile); in parseMethods() 403 ObjFile *objFileForMergeData = nullptr; 462 ObjFile *objFile); 465 const std::string &baseClassName, ObjFile *objFile); 466 Defined *emitCategoryName(const std::string &name, ObjFile *objFile); 799 dyn_cast_or_null<ObjFile>(catInfo.catBodyIsec->getFile()); in parseCatInfoToExtInfo() 969 ObjFile *objFile) { in emitCatListEntrySec() 1004 ObjFile *objFile) { in emitCategoryBody() 1043 ObjFile *objFile) { in emitCategoryName() 1246 ObjFile *objFile = dyn_cast<ObjFile>(nonErasedCatBody->getFile()); in generateCatListForNonErasedCategories()
|
| 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 127 virtual void applyOptimizationHints(uint8_t *, const ObjFile &) const {}; in applyOptimizationHints() argument
|
| H A D | Dwarf.cpp | 20 std::unique_ptr<DwarfObject> DwarfObject::create(ObjFile *obj) { in create()
|
| /freebsd/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | AMDGPU.cpp | 49 return cast<ObjFile<ELF64LE>>(file)->getObj().getHeader().e_flags; in getEFlags() 132 uint8_t abiVersion = cast<ObjFile<ELF64LE>>(ctx.objectFiles[0]) in calcEFlags()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
| H A D | DWARFLinker.h | 550 DWARFFile &ObjFile; variable 568 DIECloner(DWARFLinker &Linker, DwarfEmitter *Emitter, DWARFFile &ObjFile, in DIECloner() argument 574 : Linker(Linker), Emitter(Emitter), ObjFile(ObjFile), in DIECloner()
|