| /freebsd-12.1/contrib/llvm/lib/XRay/ |
| H A D | InstrumentationMap.cpp | 54 loadObj(StringRef Filename, object::OwningBinary<object::ObjectFile> &ObjFile, in loadObj() argument 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() 69 const auto &Sections = ObjFile.getBinary()->sections(); in loadObj() 87 if (ObjFile.getBinary()->isELF()) { in loadObj() 88 uint32_t RelativeRelocation = [](object::ObjectFile *ObjFile) { in loadObj() argument 89 if (const auto *ELFObj = dyn_cast<object::ELF32LEObjectFile>(ObjFile)) in loadObj() 91 else if (const auto *ELFObj = dyn_cast<object::ELF32BEObjectFile>(ObjFile)) in loadObj() 93 else if (const auto *ELFObj = dyn_cast<object::ELF64LEObjectFile>(ObjFile)) in loadObj() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | InputFiles.cpp | 184 ObjFile<ELFT>::getVariableLoc(StringRef Name) { in getVariableLoc() 268 ObjFile<ELFT>::ObjFile(MemoryBufferRef M, StringRef ArchiveName) in ObjFile() function in ObjFile 389 void ObjFile<ELFT>::initializeSections( in initializeSections() 1232 return make<ObjFile<ELF32LE>>(MB, ArchiveName); in createObjectFile() 1234 return make<ObjFile<ELF32BE>>(MB, ArchiveName); in createObjectFile() 1236 return make<ObjFile<ELF64LE>>(MB, ArchiveName); in createObjectFile() 1238 return make<ObjFile<ELF64BE>>(MB, ArchiveName); in createObjectFile() 1341 template class elf::ObjFile<ELF32LE>; member in elf 1342 template class elf::ObjFile<ELF32BE>; member in elf 1343 template class elf::ObjFile<ELF64LE>; member in elf [all …]
|
| H A D | InputSection.h | 31 template <class ELFT> class ObjFile; variable 99 InputSectionBase(ObjFile<ELFT> &File, const typename ELFT::Shdr &Header, 114 template <class ELFT> ObjFile<ELFT> *getFile() const { in getFile() 115 return cast_or_null<ObjFile<ELFT>>(File); in getFile() 241 MergeInputSection(ObjFile<ELFT> &F, const typename ELFT::Shdr &Header, 300 EhInputSection(ObjFile<ELFT> &F, const typename ELFT::Shdr &Header, 322 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() 124 InputSectionBase::InputSectionBase(ObjFile<ELFT> &File, in InputSectionBase() 1091 EhInputSection::EhInputSection(ObjFile<ELFT> &F, in EhInputSection() 1190 MergeInputSection::MergeInputSection(ObjFile<ELFT> &F, in MergeInputSection() 1260 template MergeInputSection::MergeInputSection(ObjFile<ELF32LE> &, 1262 template MergeInputSection::MergeInputSection(ObjFile<ELF32BE> &, 1264 template MergeInputSection::MergeInputSection(ObjFile<ELF64LE> &, 1269 template EhInputSection::EhInputSection(ObjFile<ELF32LE> &, 1271 template EhInputSection::EhInputSection(ObjFile<ELF32BE> &, 1273 template EhInputSection::EhInputSection(ObjFile<ELF64LE> &, [all …]
|
| H A D | DWARF.cpp | 29 template <class ELFT> LLDDwarfObj<ELFT>::LLDDwarfObj(ObjFile<ELFT> *Obj) { in LLDDwarfObj() 73 const ObjFile<ELFT> *File = Sec.getFile<ELFT>(); in findAux()
|
| H A D | Writer.h | 23 template <class ELFT> class ObjFile; variable
|
| H A D | DWARF.h | 29 explicit LLDDwarfObj(ObjFile<ELFT> *Obj);
|
| H A D | InputFiles.h | 167 template <class ELFT> class ObjFile : public ELFFileBase<ELFT> { 185 ObjFile(MemoryBufferRef M, StringRef ArchiveName);
|
| H A D | OutputSections.h | 33 template <class ELFT> class ObjFile; variable
|
| /freebsd-12.1/contrib/llvm/tools/lld/COFF/ |
| H A D | InputFiles.cpp | 47 std::vector<ObjFile *> ObjFile::Instances; 114 void ObjFile::parse() { in parse() 138 void ObjFile::initializeChunks() { in initializeChunks() 220 void ObjFile::readAssociativeDefinition( in readAssociativeDefinition() 248 void ObjFile::recordPrevailingSymbolForMingw( in recordPrevailingSymbolForMingw() 263 void ObjFile::maybeAssociateSEHForMingw( in maybeAssociateSEHForMingw() 277 Symbol *ObjFile::createRegular(COFFSymbolRef Sym) { in createRegular() 299 void ObjFile::initializeSymbols() { in initializeSymbols() 365 Symbol *ObjFile::createUndefined(COFFSymbolRef Sym) { in createUndefined() 371 Optional<Symbol *> ObjFile::createDefined( in createDefined() [all …]
|
| H A D | PDB.cpp | 129 Expected<const CVIndexMap &> mergeDebugT(ObjFile *File, 140 mergeInPrecompHeaderObj(ObjFile *File, const CVType &FirstType, 152 Expected<const CVIndexMap &> aquirePrecompObj(ObjFile *File, 159 void mergeSymbolRecords(ObjFile *File, const CVIndexMap &IndexMap, 232 ObjFile &File; 352 static Optional<ArrayRef<uint8_t>> getDebugH(ObjFile *File) { in getDebugH() 390 static uint32_t extractPCHSignature(ObjFile *File) { in extractPCHSignature() 703 static ObjFile *findObjByName(StringRef FileNameOnly) { in findObjByName() 706 for (ObjFile *F : ObjFile::Instances) { in findObjByName() 931 uint32_t CurOffset, ObjFile *File) { in scopeStackClose() [all …]
|
| H A D | SymbolTable.cpp | 46 if (auto *F = dyn_cast<ObjFile>(File)) { in addFile() 47 ObjFile::Instances.push_back(F); in addFile() 87 std::string getSymbolLocations(ObjFile *File, uint32_t SymIndex) { in getSymbolLocations() 271 for (ObjFile *File : ObjFile::Instances) { in reportRemainingUndefines() 463 for (ObjFile *File : ObjFile::Instances) { in getChunks() 541 auto *Obj = make<ObjFile>(MemoryBufferRef(Object, "lto.tmp")); in addCombinedLTOObjects() 543 ObjFile::Instances.push_back(Obj); in addCombinedLTOObjects()
|
| H A D | Chunks.h | 37 class ObjFile; variable 142 ObjFile *File; 144 symbol_iterator(ObjFile *File, const coff_relocation *I) in symbol_iterator() 153 SectionChunk(ObjFile *File, const coff_section *Header); 222 ObjFile *File;
|
| H A D | Symbols.cpp | 42 cast<ObjFile>(D->File)->getCOFFObj()->getSymbolName(D->Sym, Name); in getName() 74 size_t SymSize = cast<ObjFile>(File)->getCOFFObj()->getSymbolTableEntrySize(); in getCOFFSymbol()
|
| H A D | InputFiles.h | 107 class ObjFile : public InputFile { 109 explicit ObjFile(MemoryBufferRef M) : InputFile(ObjectKind, M) {} in ObjFile() function 132 static std::vector<ObjFile *> Instances;
|
| H A D | MapFile.cpp | 51 for (ObjFile *File : ObjFile::Instances) in getSymbols()
|
| H A D | Writer.cpp | 187 void markSymbolsForRVATable(ObjFile *File, 1013 for (ObjFile *File : ObjFile::Instances) { in createSymbolAndStringTable() 1320 for (ObjFile *File : ObjFile::Instances) { in createSEHTable() 1399 static void markSymbolsWithRelocations(ObjFile *File, in markSymbolsWithRelocations() 1426 for (ObjFile *File : ObjFile::Instances) { in createGuardCFTables() 1474 void Writer::markSymbolsForRVATable(ObjFile *File, in markSymbolsForRVATable()
|
| H A D | Driver.cpp | 79 ObjFile::Instances.clear(); in link() 171 Symtab->addFile(make<ObjFile>(MBRef)); in addBuffer() 212 Obj = make<ObjFile>(MB); in addArchiveBuffer() 824 for (ObjFile *Obj : ObjFile::Instances) { in findKeepUniqueSections() 1382 Symtab->addFile(make<ObjFile>(convertResToCOFF(Resources))); in link() 1591 for (ObjFile *File : ObjFile::Instances) in link()
|
| H A D | SymbolTable.h | 126 std::string getSymbolLocations(ObjFile *File, uint32_t SymIndex);
|
| /freebsd-12.1/contrib/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()
|
| /freebsd-12.1/contrib/llvm/tools/lld/ELF/Arch/ |
| H A D | RISCV.cpp | 37 return cast<ObjFile<ELF64LE>>(F)->getObj().getHeader()->e_flags; in getEFlags() 38 return cast<ObjFile<ELF32LE>>(F)->getObj().getHeader()->e_flags; in getEFlags()
|
| H A D | AMDGPU.cpp | 43 return cast<ObjFile<ELF64LE>>(File)->getObj().getHeader()->e_flags; in getEFlags()
|
| H A D | Hexagon.cpp | 65 uint32_t EFlags = cast<ObjFile<ELF32LE>>(F)->getObj().getHeader()->e_flags; in calcEFlags()
|
| H A D | PPC64.cpp | 239 return cast<ObjFile<ELF64BE>>(File)->getObj().getHeader()->e_flags; in getEFlags() 240 return cast<ObjFile<ELF64LE>>(File)->getObj().getHeader()->e_flags; in getEFlags()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/MCJIT/ |
| H A D | MCJIT.cpp | 128 std::unique_ptr<object::ObjectFile> ObjFile; in addObjectFile() local 130 std::tie(ObjFile, MemBuf) = Obj.takeBinary(); in addObjectFile() 131 addObjectFile(std::move(ObjFile)); in addObjectFile()
|