/llvm-project/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::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() 67 ObjFile.getBinary()->getArch() == Triple::riscv64)) in loadObj() 74 const auto &Sections = ObjFile in loadObj() 95 __anond9ce7c680202(object::ObjectFile *ObjFile) loadObj() argument [all...] |
/llvm-project/clang/utils/check_cfc/ |
H A D | obj_diff.py | 21 def disassemble(objfile): argument 24 [disassembler, "-d", objfile], stdout=subprocess.PIPE, stderr=subprocess.PIPE 28 print("Disassemble failed: {}".format(objfile)) 33 def dump_debug(objfile): argument 36 [disassembler, "-WliaprmfsoRt", objfile], 42 print("Dump debug failed: {}".format(objfile))
|
/llvm-project/lld/wasm/ |
H A D | MarkLive.cpp | 44 void enqueueInitFunctions(const ObjFile *sym); 45 void enqueueRetainedSegments(const ObjFile *file); 66 if (auto obj = dyn_cast<ObjFile>(file)) { in enqueue() 90 void MarkLive::enqueueInitFunctions(const ObjFile *obj) { in enqueueInitFunctions() 101 void MarkLive::enqueueRetainedSegments(const ObjFile *file) { in enqueueRetainedSegments() 120 for (const ObjFile *obj : ctx.objectFiles) in run() 179 for (const ObjFile *obj : ctx.objectFiles) { in markLive() 220 for (const ObjFile *file : ctx.objectFiles) { in isCallCtorsLive()
|
H A D | InputElement.h | 26 InputElement(StringRef name, ObjFile *f) in InputElement() 38 ObjFile *file; 61 InputGlobal(const WasmGlobal &g, ObjFile *f) in InputGlobal() 78 InputTag(const WasmSignature &s, const WasmTag &t, ObjFile *f) in InputTag() 88 InputTable(const WasmTable &t, ObjFile *f) in InputTable()
|
H A D | InputFiles.cpp | 98 return make<ObjFile>(mb, archiveName, lazy); 108 uint32_t ObjFile::calcNewIndex(const WasmRelocation &reloc) const { in calcNewIndex() 121 int64_t ObjFile::calcNewAddend(const WasmRelocation &reloc) const { in calcNewAddend() 145 uint64_t ObjFile::calcNewValue(const WasmRelocation &reloc, uint64_t tombstone, in calcNewValue() 279 void ObjFile::addLegacyIndirectFunctionTableIfNeeded( in addLegacyIndirectFunctionTableIfNeeded() 399 void ObjFile::parseLazy() { in parseLazy() 400 LLVM_DEBUG(dbgs() << "ObjFile::parseLazy: " << toString(this) << " " in parseLazy() 415 ObjFile::ObjFile(MemoryBufferRef m, StringRef archiveName, bool lazy) in ObjFile() 488 void ObjFile in parse() 405 ObjFile::ObjFile(MemoryBufferRef m, StringRef archiveName, bool lazy) ObjFile() function in lld::wasm::ObjFile [all...] |
H A D | InputChunks.h | 35 class ObjFile; variable 86 ObjFile *file; 112 InputChunk(ObjFile *f, Kind k, StringRef name, uint32_t alignment = 0, 133 InputSegment(const WasmSegment &seg, ObjFile *f) in InputSegment() 172 MergeInputChunk(const WasmSegment &seg, ObjFile *f) in MergeInputChunk() 180 MergeInputChunk(const WasmSection &s, ObjFile *f, uint32_t alignment) in MergeInputChunk() 255 InputFunction(const WasmSignature &s, const WasmFunction *func, ObjFile *f) in InputFunction() 342 InputSection(const WasmSection &s, ObjFile *f, uint32_t alignment) in InputSection()
|
/llvm-project/llvm/test/DebugInfo/PDB/Inputs/ |
H A D | debug-subsections.yaml | 4 ObjFile: 'Foo.obj' 13 ObjFile: 'Bar.obj' 26 ObjFile: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj' 68 ObjFile: 'ObjFileSubsections'
|
/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 | 155 // ObjFile::initializeSymbols(). 187 ObjFile::ObjFile(SymbolTable &symtab, COFFObjectFile *coffObj, bool lazy) in parse() 191 ObjFile *ObjFile::create(COFFLinkerContext &ctx, MemoryBufferRef m, bool lazy) { in parse() 202 return make<ObjFile>(ctx.getSymtab(MachineTypes(obj->getMachine())), obj, in parse() 206 void ObjFile::parseLazy() { in getSection() 230 void ObjFile::initializeECThunks() { in initializeChunks() 259 void ObjFile::parse() { in readSection() 268 const coff_section *ObjFile in readSection() [all...] |
H A D | SymbolTable.cpp | 60 // ObjFile::initializeSymbols(). in addFile() 136 getSymbolLocations(ObjFile *file, uint32_t symIndex, size_t maxStrings) { in getSymbol() 187 std::vector<std::string> getSymbolLocations(ObjFile *file, uint32_t symIndex) { in getSymbolLocations() 193 if (auto *o = dyn_cast<ObjFile>(file)) in getSymbolLocations() 397 for (ObjFile *file : ctx.objFileInstances) 638 parallelForEach(ctx.objFileInstances, [&](ObjFile *file) { in addLazyDLLSymbol() 785 static std::string getSourceLocationObj(ObjFile *file, SectionChunk *sc, in addImportData() 806 if (auto *o = dyn_cast<ObjFile>(file)) in addImportThunk() 828 if (d && isa<ObjFile>(d->getFile())) { in getChunks() 1337 ObjFile *ob [all...] |
/llvm-project/lld/MachO/ |
H A D | ObjC.cpp | 245 auto objFile = dyn_cast_or_null<ObjFile>(inputFile); in parseMethods() 246 if (objFile && objFile->compileUnit) in parseMethods() 247 result += " (" + objFile->sourceFile() + ")"; in parseMethods() 404 ObjFile *objFileForMergeData = nullptr; 463 ObjFile *objFile); 466 const std::string &baseClassName, ObjFile *objFile); 267 auto objFile = dyn_cast_or_null<ObjFile>(inputFile); parseMethods() local 971 emitCatListEntrySec(const std::string & forCategoryName,const std::string & forBaseClassName,ObjFile * objFile) emitCatListEntrySec() argument 1006 emitCategoryBody(const std::string & name,const Defined * nameSym,const Symbol * baseClassSym,const std::string & baseClassName,ObjFile * objFile) emitCategoryBody() argument 1045 emitCategoryName(const std::string & name,ObjFile * objFile) emitCategoryName() argument 1244 ObjFile *objFile = dyn_cast<ObjFile>(nonErasedCatBody->getFile()); generateCatListForNonErasedCategories() local [all...] |
/llvm-project/lld/ELF/ |
H A D | InputFiles.cpp | 46 extern template void ObjFile<ELF32LE>::importCmseSymbols(); 47 extern template void ObjFile<ELF32BE>::importCmseSymbols(); 48 extern template void ObjFile<ELF64LE>::importCmseSymbols(); 49 extern template void ObjFile<ELF64BE>::importCmseSymbols(); 314 cast<ObjFile<ELFT>>(file)->parseLazy(); in doParseFile() 324 cast<ObjFile<ELFT>>(file)->parse(); in doParseFile() 343 extern template void ObjFile<ELF32LE>::importCmseSymbols(); 344 extern template void ObjFile<ELF32BE>::importCmseSymbols(); 345 extern template void ObjFile<ELF64LE>::importCmseSymbols(); 346 extern template void ObjFile<ELF64B 1916 template class elf::ObjFile<ELF32LE>; global() member in elf 1917 template class elf::ObjFile<ELF32BE>; global() member in elf 1918 template class elf::ObjFile<ELF64LE>; global() member in elf 1919 template class elf::ObjFile<ELF64BE>; global() member in elf [all...] |
H A D | InputSection.h | 33 template <class ELFT> class ObjFile; variable 75 // type is usually ObjFile<ELFT>, but may be an InputFile of InternalKind 157 InputSectionBase(ObjFile<ELFT> &file, const typename ELFT::Shdr &header, in getFile() 197 // Getter when the dynamic type is ObjFile<ELFT>. in contentMaybeDecompress() 198 template <class ELFT> ObjFile<ELFT> *getFile() const { 199 return cast<ObjFile<ELFT>>(file); 336 MergeInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, 397 EhInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, in getParent() 421 InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
|
H A D | InputSection.cpp | 49 static ArrayRef<uint8_t> getSectionContents(ObjFile<ELFT> &file, in getSectionContents() 99 InputSectionBase::InputSectionBase(ObjFile<ELFT> &file, in InputSectionBase() 146 auto *f = cast<ObjFile<ELFT>>(file); in relsOrRelas() 369 // before ObjFile::initSectionsAndLocalSyms where local symbols are in copyRelocations() 400 InputSection::InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, in copyRelocations() 448 const ObjFile<ELFT> &file; in copyRelocations() 479 const ObjFile<ELFT> *file = getFile<ELFT>(); in copyRelocations() 1343 EhInputSection::EhInputSection(ObjFile<ELFT> &f, in splitStrings() 1471 MergeInputSection::MergeInputSection(ObjFile<ELFT> &f, 1514 template InputSection::InputSection(ObjFile<ELF32L [all...] |
/llvm-project/bolt/unittests/Core/ |
H A D | MCPlusBuilder.cpp | 55 ObjFile = cantFail(ObjectFile::createObjectFile(Source)); in prepareElf() 59 Relocation::Arch = ObjFile->makeTriple().getArch(); in initializeBolt() 61 ObjFile->makeTriple(), std::make_shared<orc::SymbolStringPool>(), in initializeBolt() 62 ObjFile->getFileName(), nullptr, true, in initializeBolt() 63 DWARFContext::create(*ObjFile.get()), {llvm::outs(), llvm::errs()})); in initializeBolt() 83 std::unique_ptr<ObjectFile> ObjFile; 81 std::unique_ptr<ObjectFile> ObjFile; global() member
|
H A D | BinaryContext.cpp | 45 ObjFile = cantFail(ObjectFile::createObjectFile(Source)); in prepareElf() 49 Relocation::Arch = ObjFile->makeTriple().getArch(); in initializeBOLT() 51 ObjFile->makeTriple(), std::make_shared<orc::SymbolStringPool>(), in initializeBOLT() 52 ObjFile->getFileName(), nullptr, true, in initializeBOLT() 53 DWARFContext::create(*ObjFile.get()), {llvm::outs(), llvm::errs()})); in initializeBOLT() 58 std::unique_ptr<ObjectFile> ObjFile; 56 std::unique_ptr<ObjectFile> ObjFile; global() member
|
/llvm-project/llvm/test/DebugInfo/PDB/ |
H A D | pdbdump-debug-subsections.test | 6 YAML-NEXT: ObjFile: Foo.obj 15 YAML-NEXT: ObjFile: Bar.obj 28 YAML-NEXT: ObjFile: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
|
/llvm-project/lldb/source/Plugins/Platform/MacOSX/ |
H A D | PlatformMacOSX.cpp | 110 ObjectFile *objfile = exe_module_sp->GetObjectFile(); in GetSDKDirectory() local 111 if (!objfile) in GetSDKDirectory() 114 llvm::VersionTuple version = objfile->GetSDKVersion(); in GetSDKDirectory() 194 ObjectFile *objfile = module_sp->GetObjectFile(); in GetSharedModule() local 195 if (objfile == nullptr) { in GetSharedModule()
|
/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()
|
/llvm-project/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/ |
H A D | DynamicLoaderFreeBSDKernel.cpp | 60 ObjectFile *objfile = module->GetObjectFile(); in is_kernel() local 61 if (!objfile) in is_kernel() 63 if (objfile->GetType() != ObjectFile::eTypeExecutable) in is_kernel() 65 if (objfile->GetStrata() != ObjectFile::eStrataUnknown && in is_kernel() 66 objfile->GetStrata() != ObjectFile::eStrataKernel) in is_kernel() 77 ObjectFile *objfile = module->GetObjectFile(); in is_kmod() local 78 if (objfile->GetType() != ObjectFile::eTypeObjectFile && in is_kmod() 79 objfile->GetType() != ObjectFile::eTypeSharedLibrary) in is_kmod() 90 ObjectFile *objfile = module->GetObjectFile(); in is_reloc() local 91 if (objfile in is_reloc() [all...] |
/llvm-project/lld/test/COFF/ |
H A D | pdb-relative-source-lines.test | 50 CHECK-NEXT: ObjFile: 'c:\src\pdb_lines_1_relative.obj' 62 CHECK-NEXT: ObjFile: 'c:\src\pdb_lines_2_relative.obj' 98 POSIX-NEXT: ObjFile: '/usr/src/pdb_lines_1_relative.obj' 110 POSIX-NEXT: ObjFile: '/usr/src/pdb_lines_2_relative.obj'
|
H A D | pdb-source-lines.test | 37 CHECK-NEXT: ObjFile: {{.*}}pdb_lines_1.obj 98 CHECK-NEXT: ObjFile: {{.*}}pdb_lines_2.obj 125 CHECK-NEXT: ObjFile: ''
|
/llvm-project/lldb/test/Shell/Minidump/ |
H A D | breakpad-symbols.test | 25 image dump objfile /tmp/test/linux-x86_64 26 # CHECK-LABEL: image dump objfile /tmp/test/linux-x86_64
|
/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | ManualDWARFIndex.cpp | 749 ObjectFile *objfile = m_dwarf->GetObjectFile(); 750 strm << objfile->GetModule()->GetCacheKey() << "-dwarf-index-" 751 << dwarf_index_suffix << llvm::format_hex(objfile->GetCacheHash(), 10); 759 ObjectFile *objfile = m_dwarf->GetObjectFile(); 760 if (!objfile) 769 objfile->GetAddressByteSize()); 782 ObjectFile *objfile = m_dwarf->GetObjectFile(); 783 if (!objfile) 785 DataEncoder file(endian::InlHostByteOrder(), objfile->GetAddressByteSize()); 697 ObjectFile *objfile = m_dwarf->GetObjectFile(); GetCacheKey() local 707 ObjectFile *objfile = m_dwarf->GetObjectFile(); LoadFromCache() local 730 ObjectFile *objfile = m_dwarf->GetObjectFile(); SaveToCache() local
|
/llvm-project/lldb/test/Shell/Minidump/Windows/ |
H A D | find-module.test | 9 RUN: -c %T/find-module.dmp -o "image dump objfile" -o "target list" -o exit \ 20 DEFAULT-LABEL: image dump objfile
|