Home
last modified time | relevance | path

Searched refs:getSectionName (Results 1 – 25 of 64) sorted by relevance

123

/llvm-project-15.0.7/lld/COFF/
H A DChunks.h98 StringRef getSectionName() const;
160 virtual StringRef getSectionName() const { in getSectionName() function
218 StringRef getSectionName() const { in getSectionName() function
248 return getSectionName() == ".debug" || getSectionName().startswith(".debug$"); in isCodeView()
253 return getSectionName().startswith(".debug_") || getSectionName() == ".eh_frame"; in isDWARF()
384 inline StringRef Chunk::getSectionName() const { in getSectionName() function
386 return static_cast<const SectionChunk *>(this)->getSectionName(); in getSectionName()
388 return static_cast<const NonSectionChunk *>(this)->getSectionName(); in getSectionName()
422 StringRef getSectionName() const override { return ".rdata"; } in getSectionName() function
439 StringRef getSectionName() const override { return ".bss"; } in getSectionName() function
H A DICF.cpp93 StringRef outSecName = c->getSectionName().split('$').first; in isEligible()
136 StringRef Name = assoc.getSectionName(); in assocEquals()
176 a->getSectionName() == b->getSectionName() && in equalsConstant()
H A DMapFile.cpp258 c->getSectionName() != ChunkRanges.back().first->getSectionName()) { in writeMapFile()
278 os << " " << left_justify(cr.first->getSectionName(), 23); in writeMapFile()
H A DChunks.cpp42 if (Expected<StringRef> e = file->getCOFFObj()->getSectionName(header)) in SectionChunk()
91 error("overflow in SECREL relocation in section: " + sec->getSectionName()); in applySecRel()
270 sec->getSectionName()); in applySecRelHigh12A()
472 if (next->getSectionName() <= child->getSectionName()) in addAssociative()
655 return consumeDebugMagic(getContents(), getSectionName()); in consumeDebugMagic()
685 if (c->getSectionName() == name) in findByName()
H A DLLDMapFile.cpp118 os << indent8 << sc->file->getName() << ":(" << sc->getSectionName() in writeLLDMapFile()
/llvm-project-15.0.7/clang/lib/Basic/
H A DProfileList.cpp74 static StringRef getSectionName(CodeGenOptions::ProfileInstrKind Kind) { in getSectionName() function
91 StringRef Section = getSectionName(Kind); in isFunctionExcluded()
108 StringRef Section = getSectionName(Kind); in isFileExcluded()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/JITLink/
H A DTableManager.h41 dbgs() << " Created" << impl().getSectionName() << "entry for " in getEntryForTarget()
49 dbgs() << " Using " << impl().getSectionName() << " entry " in getEntryForTarget()
H A Dx86_64.h542 static StringRef getSectionName() { return "$__GOT"; } in getSectionName() function
590 GOTSection = &G.createSection(getSectionName(), MemProt::Read); in getGOTSection()
602 static StringRef getSectionName() { return "$__STUBS"; } in getSectionName() function
629 &G.createSection(getSectionName(), MemProt::Read | MemProt::Exec); in getStubsSection()
H A Daarch64.h256 static StringRef getSectionName() { return "$__GOT"; } in getSectionName() function
310 &G.createSection(getSectionName(), MemProt::Read | MemProt::Exec); in getGOTSection()
327 static StringRef getSectionName() { return "$__STUBS"; } in getSectionName() function
355 &G.createSection(getSectionName(), MemProt::Read | MemProt::Exec); in getStubsSection()
/llvm-project-15.0.7/lld/wasm/
H A DOutputSections.cpp31 return (sec.getSectionName() + "(" + sec.name + ")").str(); in toString()
32 return std::string(sec.getSectionName()); in toString()
36 StringRef OutputSection::getSectionName() const { in getSectionName() function in lld::wasm::OutputSection
42 debugWrite(os.tell(), "section type [" + getSectionName() + "]"); in createHeader()
H A DOutputSections.h35 StringRef getSectionName() const;
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFListTable.h97 StringRef getSectionName() const { return SectionName; } in getSectionName() function
213 Header.getSectionName(), in extract()
287 Header.getSectionName(), Header.getListTypeString())) in findList()
/llvm-project-15.0.7/lld/test/COFF/
H A Dinvalid-obj.test4 # CHECK: getSectionName failed: #1:
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DELF_aarch64.cpp397 static StringRef getSectionName() { return "$__TLSINFO"; } in getSectionName() function in __anon2d072e3c0111::TLSInfoTableManager_ELF_aarch64
416 TLSInfoTable = &G.createSection(getSectionName(), MemProt::Read); in getTLSInfoSection()
441 static StringRef getSectionName() { return "$__TLSDESC"; } in getSectionName() function in __anon2d072e3c0111::TLSDescTableManager_ELF_aarch64
484 GOTSection = &G.createSection(getSectionName(), MemProt::Read); in getTLSDescSection()
H A DELF_x86_64.cpp42 static StringRef getSectionName() { return ELFTLSInfoSectionName; } in getSectionName() function in __anon039835c20111::TLSInfoTableManager_ELF_x86_64
282 x86_64::GOTTableManager::getSectionName())) { in getOrCreateGOTSymbol()
302 G.findSectionByName(x86_64::GOTTableManager::getSectionName())) { in getOrCreateGOTSymbol()
H A DELFLinkGraphBuilder.h282 auto Name = Obj.getSectionName(Sec, SectionStringTab); in graphifySections()
365 if (auto SymTabNameOrErr = Obj.getSectionName(*SymTabSec, SectionStringTab)) in graphifySymbols()
494 Expected<StringRef> Name = Obj.getSectionName(**FixupSection); in forEachRelocation()
H A DCOFFLinkGraphBuilder.cpp114 if (Expected<StringRef> SecNameOrErr = Obj.getSectionName(Sec)) in getCOFFSectionName()
134 if (Expected<StringRef> SecNameOrErr = Obj.getSectionName(*Sec)) in graphifySections()
H A DCOFFLinkGraphBuilder.h177 Expected<StringRef> Name = Obj.getSectionName(COFFRelSect); in forEachRelocation()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DDwarfCFIEHPrinter.h87 Expected<StringRef> NameOrErr = Obj.getSectionName(Shdr); in printUnwindInformation()
106 Expected<StringRef> NameOrErr = Obj.getSectionName(*EHFrameHdr); in printEHFrameHdr()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DAsmDump.cpp104 OS << ".section " << JT->getSectionName() << '\n'; in dumpJumpTableSymbols()
118 OS << ".section " << BD->getSectionName() << '\n'; in dumpBinaryDataSymbols()
H A DReorderData.cpp201 Counts[BD->getSectionName()] += AccessInfo.Count; in assignMemData()
203 JumpTableCounts[BD->getSectionName()] += AccessInfo.Count; in assignMemData()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryData.cpp73 StringRef BinaryData::getSectionName() const { return getSection().getName(); } in getSectionName() function in BinaryData
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELF.h384 getSectionName(const Elf_Shdr &Section,
386 Expected<StringRef> getSectionName(const Elf_Shdr &Section,
1185 ELFFile<ELFT>::getSectionName(const Elf_Shdr &Section, in getSectionName() function
1193 return getSectionName(Section, *Table); in getSectionName()
1197 Expected<StringRef> ELFFile<ELFT>::getSectionName(const Elf_Shdr &Section, in getSectionName() function
H A DObjectFile.h263 virtual Expected<StringRef> getSectionName(DataRefImpl Sec) const = 0;
457 return OwningObject->getSectionName(SectionPimpl); in getName()
/llvm-project-15.0.7/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp525 if (!Sym.getSectionName().empty()) in dumpSymtab()
526 outs() << " section " << Sym.getSectionName() << "\n"; in dumpSymtab()

123