Home
last modified time | relevance | path

Searched refs:getSection (Results 1 – 25 of 123) sorted by relevance

12345

/external/llvm/include/llvm/Object/
DELFObjectFile.h252 return *EF.getSection(Rel.d.a); in getRelSection()
317 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection() function
367 const Elf_Shdr *SymTableSec = *EF.getSection(Sym.d.a); in getSymbolName()
368 const Elf_Shdr *StringTableSec = *EF.getSection(SymTableSec->sh_link); in getSymbolName()
375 return getSection(Sec)->sh_flags; in getSectionFlags()
380 return getSection(Sec)->sh_type; in getSectionType()
412 const Elf_Shdr *SymTab = *EF.getSection(Symb.d.a); in getSymbolAddress()
416 EF.getSection(ESym, SymTab, ShndxTable); in getSymbolAddress()
536 ErrorOr<const Elf_Shdr *> ESecOrErr = EF.getSection(ESym, SymTab, ShndxTable); in getSymbolSection()
553 const Elf_Shdr *SymTab = *EF.getSection(Symb.d.a); in getSymbolSection()
[all …]
DELF.h195 ErrorOr<const Elf_Shdr *> getSection(const Elf_Sym *Sym,
198 ErrorOr<const Elf_Shdr *> getSection(uint32_t Index) const;
235 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in getSection() function
239 return getSection(getExtendedSymbolTableIndex(Sym, SymTab, ShndxTable)); in getSection()
243 return getSection(Sym->st_shndx); in getSection()
373 ErrorOr<const Elf_Shdr *> StrTabSecOrErr = getSection(StringTableIndex); in ELFFile()
407 ErrorOr<const Elf_Shdr *> Sec = getSection(Section); in getEntry()
423 ELFFile<ELFT>::getSection(uint32_t Index) const { in getSection() function
461 ErrorOr<const Elf_Shdr *> SymTableOrErr = getSection(Section.sh_link); in getSHNDXTable()
478 ErrorOr<const Elf_Shdr *> SectionOrErr = getSection(Sec.sh_link); in getStringTableForSymtab()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DELFWriter.h154 ELFSection &getSection(const std::string &Name, unsigned Type,
170 return getSection(".note.GNU-stack", ELF::SHT_PROGBITS, 0, 1); in getNonExecStackSection()
174 return getSection(".symtab", ELF::SHT_SYMTAB, 0); in getSymbolTableSection()
178 return getSection(".strtab", ELF::SHT_STRTAB, 0, 1); in getStringTableSection()
182 return getSection(".shstrtab", ELF::SHT_STRTAB, 0, 1); in getSectionHeaderStringTableSection()
186 return getSection("", ELF::SHT_NULL, 0); in getNullSection()
DELFWriter.cpp191 return getSection(Data->getSectionName(), Data->getType(), in getDataSection()
197 return getSection(BSS->getSectionName(), BSS->getType(), BSS->getFlags(), 4); in getBSSSection()
203 return getSection(Ctor->getSectionName(), Ctor->getType(), Ctor->getFlags()); in getCtorSection()
209 return getSection(Dtor->getSectionName(), Dtor->getType(), Dtor->getFlags()); in getDtorSection()
216 return getSection(Text->getSectionName(), Text->getType(), Text->getFlags()); in getTextSection()
224 return getSection(JT->getSectionName(), JT->getType(), JT->getFlags(), in getJumpTableSection()
249 return getSection(CPSect->getSectionName(), CPSect->getType(), in getConstantPoolSection()
264 return getSection(SectionName, SectionType, 0, TEW->getPrefELFAlignment()); in getRelocSection()
371 getSection(S->getSectionName(), S->getType(), S->getFlags()); in EmitGlobal()
633 if (GV->getSection() == "llvm.metadata" || in EmitSpecialLLVMGlobal()
DTargetLoweringObjectFileImpl.cpp177 StringRef SectionName = GV->getSection(); in getExplicitSectionGlobal()
357 MCSectionMachO::ParseSectionSpecifier(GV->getSection(), Segment, Section, in getExplicitSectionGlobal()
362 "' has an invalid section specifier '" + GV->getSection()+ in getExplicitSectionGlobal()
587 return getContext().getCOFFSection(GV->getSection(), in getExplicitSectionGlobal()
/external/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.cpp108 TRACE("input section(" << GV->getSection() << ") "); in SelectSectionForGlobal()
142 << GV->getSection() << ") "); in getExplicitSectionGlobal()
154 StringRef Section = GV->getSection(); in getExplicitSectionGlobal()
156 return getContext().getELFSection(GV->getSection(), ELF::SHT_PROGBITS, in getExplicitSectionGlobal()
159 return getContext().getELFSection(GV->getSection(), ELF::SHT_PROGBITS, in getExplicitSectionGlobal()
190 bool IsSmall = isSmallDataSection(GVar->getSection()); in isGlobalInSmallSection()
192 << GVar->getSection() << '\n'); in isGlobalInSmallSection()
364 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()
/external/swiftshader/third_party/LLVM/lib/Object/
DELFObjectFile.cpp307 return getSection(Rel.w.b); in getRelSection()
317 const Elf_Shdr *getSection(DataRefImpl index) const;
318 const Elf_Shdr *getSection(uint32_t index) const;
379 const Elf_Shdr *getSection(const Elf_Sym *symb) const;
446 ::getSection(const Elf_Sym *symb) const { in getSection() function in ELFObjectFile
448 return getSection(ExtendedSymbolTable.lookup(symb)); in getSection()
451 return getSection(symb->st_shndx); in getSection()
470 default: Section = getSection(symb); in getSymbolOffset()
504 default: Section = getSection(symb); in getSymbolAddress()
543 const Elf_Shdr *Section = getSection(symb); in getSymbolNMTypeChar()
[all …]
DMachOObjectFile.cpp309 MachOObjectFile::getSection(DataRefImpl DRI, in getSection() function in llvm::object::MachOObjectFile
378 getSection(DRI, Sect); in getSectionAddress()
392 getSection(DRI, Sect); in getSectionSize()
406 getSection(DRI, Sect); in getSectionContents()
420 getSection(DRI, Sect); in getSectionAlignment()
434 getSection(DRI, Sect); in isSectionText()
498 getSection(Sec, Sect); in getSectionRelEnd()
533 getSection(Sections[Rel.d.b], Sect); in getRelocation()
553 getSection(Sections[Rel.d.b], Sect); in getRelocationAddress()
607 getSection(Sections[Rel.d.b], Sect); in getRelocationAdditionalInfo()
DCOFFObjectFile.cpp122 if (error_code ec = getSection(symb->SectionNumber, Section)) in getSymbolOffset()
140 if (error_code ec = getSection(symb->SectionNumber, Section)) in getSymbolAddress()
192 if (error_code ec = getSection(symb->SectionNumber, Section)) in getSymbolSize()
225 if (error_code ec = getSection(symb->SectionNumber, Section)) in getSymbolNMTypeChar()
375 if (error_code ec = getSection(symb->SectionNumber, symb_sec)) return ec; in sectionContainsSymbol()
528 error_code COFFObjectFile::getSection(int32_t index, in getSection() function in COFFObjectFile
/external/swiftshader/third_party/LLVM/lib/MC/
DMachObjectWriter.cpp105 if (NextSD.getSection().isVirtualSection()) in getPaddingSize()
191 if (SD.getSection().isVirtualSection()) { in WriteSection()
202 const MCSectionMachO &Section = cast<MCSectionMachO>(SD.getSection()); in WriteSection()
377 cast<MCSectionMachO>(it->SectionData->getSection()); in BindIndirectSymbols()
394 cast<MCSectionMachO>(it->SectionData->getSection()); in BindIndirectSymbols()
429 SectionIndexMap[&it->getSection()] = Index; in ComputeSymbolTable()
472 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in ComputeSymbolTable()
505 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in ComputeSymbolTable()
575 const MCSection &SecA = SA.getSection(); in IsSymbolRefDifferenceFullyResolvedImpl()
576 const MCSection &SecB = FB.getParent()->getSection(); in IsSymbolRefDifferenceFullyResolvedImpl()
[all …]
DWinCOFFStreamer.cpp193 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in EmitAssignment()
237 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in EmitSymbolAttribute()
264 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in BeginCOFFSymbolDef()
303 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in EmitCommonSymbol()
311 ? Symbol->getSection().getVariant() == MCSection::SV_COFF in EmitLocalCommonSymbol()
DMCObjectWriter.cpp76 const MCSection &SecA = DataA.getSymbol().AliasedSymbol().getSection(); in IsSymbolRefDifferenceFullyResolvedImpl()
77 const MCSection &SecB = FB.getParent()->getSection(); in IsSymbolRefDifferenceFullyResolvedImpl()
DWinCOFFObjectWriter.cpp365 assert(SectionData.getSection().getVariant() == MCSection::SV_COFF in DefineSection()
369 static_cast<MCSectionCOFF const &>(SectionData.getSection()); in DefineSection()
408 SectionMap[&SectionData.getSection()] = coff_section; in DefineSection()
465 SectionMap[&SymbolData.Fragment->getParent()->getSection()]; in DefineSymbol()
649 assert(SectionMap.find(&SectionData->getSection()) != SectionMap.end() && in RecordRelocation()
654 COFFSection *coff_section = SectionMap[&SectionData->getSection()]; in RecordRelocation()
659 &SymA->getSymbol().getSection() != &SymB->getSymbol().getSection(); in RecordRelocation()
793 COFFSection *Sec = SectionMap[&i->getSection()]; in WriteObject()
DELFObjectWriter.cpp301 static_cast<const MCSectionELF&>(i->getSection()); in WriteSymbolTable()
356 static_cast<const MCSectionELF&>(ASymbol.getSection()); in SymbolToReloc()
370 static_cast<const MCSectionELF&>(F.getParent()->getSection()); in SymbolToReloc()
533 static_cast<const MCSectionELF &>(it->getSection()); in ComputeIndexMap()
542 static_cast<const MCSectionELF &>(it->getSection()); in ComputeIndexMap()
617 static_cast<const MCSectionELF&>(RefSymbol.getSection()); in ComputeSymbolTable()
685 static_cast<const MCSectionELF&>(SD.getSection()); in CreateRelocationSections()
713 static_cast<const MCSectionELF&>(SD.getSection()); in WriteRelocations()
862 static_cast<const MCSectionELF&>(it->getSection()); in CreateMetadataSections()
914 static_cast<const MCSectionELF&>(it->getSection()); in CreateIndexedSections()
[all …]
DMCAssembler.cpp56 if (!it->getSection().isVirtualSection()) in MCAsmLayout()
59 if (it->getSection().isVirtualSection()) in MCAsmLayout()
144 if (SD->getSection().isVirtualSection()) in getSectionFileSize()
218 return getBackend().doesSectionRequireSymbols(Symbol.getSection()); in isSymbolLinkerVisible()
233 SD->getFragment()->getParent()->getSection())) in getAtom()
499 if (SD->getSection().isVirtualSection()) { in WriteSectionData()
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp187 ErrorOr<const Elf_Shdr *> ShdrOrErr = Obj.getSection(Sym, SymTab, ShndxTable); in dumpSymbol()
212 ErrorOr<const Elf_Shdr *> StrTabSec = Obj.getSection(SymTab->sh_link); in dumpRelocation()
242 ErrorOr<const Elf_Shdr *> LinkSection = Obj.getSection(Shdr->sh_link); in dumpCommonSection()
261 ErrorOr<const Elf_Shdr *> InfoSection = Obj.getSection(Shdr->sh_info); in dumpCommonRelocationSection()
282 ErrorOr<const Elf_Shdr *> SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelSection()
306 ErrorOr<const Elf_Shdr *> SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelaSection()
359 ErrorOr<const Elf_Shdr *> SymtabOrErr = Obj.getSection(Shdr->sh_link); in dumpGroup()
383 ErrorOr<const Elf_Shdr *> sHdr = Obj.getSection(groupMembers[i]); in dumpGroup()
/external/llvm/lib/IR/
DGlobals.cpp98 setSection(GV->getSection()); in copyAttributesFrom()
131 StringRef GlobalValue::getSection() const { in getSection() function in GlobalValue
135 return GO->getSection(); in getSection()
138 return cast<GlobalObject>(this)->getSection(); in getSection()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DGlobalObject.h69 bool hasSection() const { return !getSection().empty(); } in hasSection()
70 StringRef getSection() const { return Section; } in getSection() function
/external/llvm/include/llvm/IR/
DGlobalObject.h66 bool hasSection() const { return !getSection().empty(); } in hasSection()
67 StringRef getSection() const { return Section; } in getSection() function
/external/doclava/res/assets/templates/assets/
Ddoclava-developer-docs.js131 function getSection() { function
152 var cookiePath = getSection() + "_";
242 var section = getSection();
299 var section = getSection();
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp130 const MCSectionMachO &RefSec = cast<MCSectionMachO>(Symbol.getSection()); in canUseLocalRelocation()
301 const MCSection &Sec = Symbol->getSection(); in recordRelocation()
364 const MCSection &Sec = Symbol->getSection(); in recordRelocation()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DAsmPrinterDwarf.cpp187 const MCSection &Section = SectionLabel->getSection(); in EmitSectionOffset()
191 assert((!Label->isInSection() || &Label->getSection() == &Section) && in EmitSectionOffset()
/external/llvm/tools/dsymutil/
DMachOUtils.cpp204 getSection(const object::MachOObjectFile &Obj, in getSection() function
207 return Obj.getSection(LCI, Idx); in getSection()
211 getSection(const object::MachOObjectFile &Obj, in getSection() function
259 auto Sect = getSection(Obj, Segment, LCI, i); in transferSegmentAndSections()
/external/llvm/lib/MC/
DMCObjectWriter.cpp49 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsMCSymbolRefExpr.cpp68 return Symbol->isDefined() ? &Symbol->getSection() : NULL; in FindAssociatedSection()

12345