Home
last modified time | relevance | path

Searched refs:SectionChunk (Results 1 – 14 of 14) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DICF.cpp50 bool assocEquals(const SectionChunk *A, const SectionChunk *B);
52 bool equalsConstant(const SectionChunk *A, const SectionChunk *B);
53 bool equalsVariable(const SectionChunk *A, const SectionChunk *B);
55 uint32_t getHash(SectionChunk *C);
56 bool isEligible(SectionChunk *C);
65 std::vector<SectionChunk *> Chunks;
81 bool ICF::isEligible(SectionChunk *C) { in isEligible()
131 bool ICF::assocEquals(const SectionChunk *A, const SectionChunk *B) { in assocEquals()
145 bool ICF::equalsConstant(const SectionChunk *A, const SectionChunk *B) { in equalsConstant()
177 bool ICF::equalsVariable(const SectionChunk *A, const SectionChunk *B) { in equalsVariable()
[all …]
H A DChunks.cpp33 SectionChunk::SectionChunk(ObjFile *F, const coff_section *H) in SectionChunk() function in lld::coff::SectionChunk
51 void SectionChunk::readRelocTargets() { in readRelocTargets()
59 void SectionChunk::resetRelocTargets() { in resetRelocTargets()
412 void SectionChunk::addAssociative(SectionChunk *Child) { in addAssociative()
543 void SectionChunk::getRuntimePseudoRelocs( in getRuntimePseudoRelocs()
565 bool SectionChunk::hasData() const { in hasData()
573 bool SectionChunk::isCOMDAT() const { in isCOMDAT()
584 StringRef SectionChunk::getDebugName() { in getDebugName()
596 void SectionChunk::replace(SectionChunk *Other) { in replace()
842 for (SectionChunk *C : Sections) in finalizeContents()
[all …]
H A DInputFiles.h51 class SectionChunk; variable
114 ArrayRef<SectionChunk *> getDebugChunks() { return DebugChunks; } in getDebugChunks()
115 ArrayRef<SectionChunk *> getSXDataChunks() { return SXDataChunks; } in getSXDataChunks()
116 ArrayRef<SectionChunk *> getGuardFidChunks() { return GuardFidChunks; } in getGuardFidChunks()
117 ArrayRef<SectionChunk *> getGuardLJmpChunks() { return GuardLJmpChunks; } in getGuardLJmpChunks()
163 SectionChunk *
200 std::vector<SectionChunk *> DebugChunks;
204 std::vector<SectionChunk *> SXDataChunks;
208 std::vector<SectionChunk *> GuardFidChunks;
209 std::vector<SectionChunk *> GuardLJmpChunks;
[all …]
H A DMarkLive.cpp30 SmallVector<SectionChunk *, 256> Worklist; in markLive()
34 if (auto *SC = dyn_cast<SectionChunk>(C)) in markLive()
38 auto Enqueue = [&](SectionChunk *C) { in markLive()
59 SectionChunk *SC = Worklist.pop_back_val(); in markLive()
68 for (SectionChunk *C : SC->children()) in markLive()
H A DChunks.h132 class SectionChunk final : public Chunk {
140 friend SectionChunk; variable
153 SectionChunk(ObjFile *File, const coff_section *Header);
182 void addAssociative(SectionChunk *Child);
204 ArrayRef<SectionChunk *> children() const { return AssocChildren; } in children()
213 SectionChunk *Repl;
238 std::vector<SectionChunk *> AssocChildren;
241 void replace(SectionChunk *Other);
257 static void addSection(SectionChunk *C);
266 std::vector<SectionChunk *> Sections;
[all …]
H A DPDB.h25 class SectionChunk; variable
33 std::pair<llvm::StringRef, uint32_t> getFileLine(const SectionChunk *C,
H A DWriter.cpp379 SectionChunk *SC = dyn_cast_or_null<SectionChunk>(OS->Chunks[I]); in createThunks()
432 SectionChunk *SC = dyn_cast_or_null<SectionChunk>(C); in verifyRanges()
628 SectionChunk *SC1 = dyn_cast_or_null<SectionChunk>(S); in fixGnuImportChunks()
629 SectionChunk *SC2 = dyn_cast_or_null<SectionChunk>(T); in fixGnuImportChunks()
730 auto *SC = dyn_cast<SectionChunk>(C); in createSections()
1261 SectionChunk *SC = B->getChunk(); in writeHeader()
1404 SectionChunk *SC = dyn_cast<SectionChunk>(C); in markSymbolsWithRelocations()
1477 for (SectionChunk *C : SymIdxChunks) { in markSymbolsForRVATable()
1537 auto *SC = dyn_cast<SectionChunk>(C); in createRuntimePseudoRelocs()
1703 auto SA = dyn_cast<SectionChunk>(A); in sortCRTSectionChunks()
[all …]
H A DInputFiles.cpp136 static SectionChunk *const PendingComdat = reinterpret_cast<SectionChunk *>(1);
154 SectionChunk *ObjFile::readSection(uint32_t SectionNumber, in readSection()
194 auto *C = make<SectionChunk>(this, Sec); in readSection()
228 SectionChunk *Parent = SparseChunks[ParentSection]; in readAssociativeDefinition()
255 SectionChunk *SC = SparseChunks[SectionNumber]; in recordPrevailingSymbolForMingw()
278 SectionChunk *SC = SparseChunks[Sym.getSectionNumber()]; in createRegular()
431 SectionChunk *C = readSection(SectionNumber, Def, GetName()); in createDefined()
H A DPDB.cpp268 void handleDebugS(lld::coff::SectionChunk &DebugS);
312 static SectionChunk *findByName(ArrayRef<SectionChunk *> Sections, in findByName()
314 for (SectionChunk *C : Sections) in findByName()
353 SectionChunk *Sec = findByName(File->getDebugChunks(), ".debug$H"); in getDebugH()
391 auto DbgIt = find_if(File->getDebugChunks(), [](SectionChunk *C) { in extractPCHSignature()
1144 if (auto *SecChunk = dyn_cast<SectionChunk>(C)) { in createSectionContrib()
1177 void DebugSHandler::handleDebugS(lld::coff::SectionChunk &DebugS) { in handleDebugS()
1292 auto *SecChunk = dyn_cast<SectionChunk>(C); in addObjFile()
1325 for (SectionChunk *DebugChunk : File->getDebugChunks()) { in addObjFile()
1655 static bool findLineTable(const SectionChunk *C, uint32_t Addr, in findLineTable()
[all …]
H A DSymbolTable.h33 class SectionChunk; variable
91 SectionChunk *C = nullptr);
H A DMapFile.cpp36 typedef DenseMap<const SectionChunk *, SmallVector<DefinedRegular *, 4>>
114 auto *SC = dyn_cast<SectionChunk>(C); in writeMapFile()
H A DSymbolTable.cpp72 static Symbol *getSymbol(SectionChunk *SC, uint32_t Addr) { in getSymbol()
95 auto *SC = dyn_cast<SectionChunk>(C); in getSymbolLocations()
191 SectionChunk *SC = dyn_cast_or_null<SectionChunk>(Refptr->getChunk()); in handleMinGWAutomaticImport()
391 SectionChunk *C) { in addRegular()
H A DSymbols.h161 SectionChunk *C = nullptr)
173 SectionChunk *getChunk() const { return *Data; } in getChunk()
176 SectionChunk **Data;
H A DDriver.cpp784 if (auto *Sec = dyn_cast<SectionChunk>(C)) in parseOrderFile()