Home
last modified time | relevance | path

Searched refs:Sections (Results 1 – 25 of 1204) sorted by relevance

12345678910>>...49

/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDieTest.cpp67 Expected<StringMap<std::unique_ptr<MemoryBuffer>>> Sections = in TEST() local
71 ASSERT_THAT_EXPECTED(Sections, Succeeded()); in TEST()
73 DWARFContext::create(*Sections, 4, /*isLittleEndian=*/true); in TEST()
169 Expected<StringMap<std::unique_ptr<MemoryBuffer>>> Sections = in TEST() local
173 ASSERT_THAT_EXPECTED(Sections, Succeeded()); in TEST()
275 Expected<StringMap<std::unique_ptr<MemoryBuffer>>> Sections = in TEST() local
279 ASSERT_THAT_EXPECTED(Sections, Succeeded()); in TEST()
380 Expected<StringMap<std::unique_ptr<MemoryBuffer>>> Sections = in TEST() local
384 ASSERT_THAT_EXPECTED(Sections, Succeeded()); in TEST()
506 ASSERT_THAT_EXPECTED(Sections, Succeeded()); in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFI386.h80 SectionEntry &AddendSection = Sections[SectionID]; in processRelocationRef()
143 const auto Section = Sections[RE.SectionID]; in resolveRelocation()
153 RE.Sections.SectionA == static_cast<uint32_t>(-1) in resolveRelocation()
155 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset( in resolveRelocation()
160 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation()
170 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend) - in resolveRelocation()
171 Sections[0].getLoadAddress(); in resolveRelocation()
175 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation()
183 uint64_t Result = RE.Sections.SectionA == static_cast<uint32_t>(-1) in resolveRelocation()
185 : Sections[RE.Sections.SectionA].getLoadAddress(); in resolveRelocation()
[all …]
H A DRuntimeDyldCOFFThumb.h83 SectionEntry &AddendSection = Sections[SectionID]; in processRelocationRef()
186 const auto Section = Sections[RE.SectionID]; in resolveRelocation()
198 RE.Sections.SectionA == static_cast<uint32_t>(-1) in resolveRelocation()
200 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation()
205 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation()
214 uint64_t Result = Sections[RE.Sections.SectionA].getLoadAddress() - in resolveRelocation()
215 Sections[0].getLoadAddress() + RE.Addend; in resolveRelocation()
219 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation()
247 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation()
251 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation()
[all …]
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/
H A Dsection-headers-exclude.yaml30 Sections:
69 Sections:
95 Sections:
111 Sections:
134 Sections:
160 Sections:
186 Sections:
211 Sections:
233 Sections:
254 Sections:
[all …]
H A Dsection-headers.yaml23 Sections:
93 Sections:
113 Sections:
147 Sections:
172 Sections:
194 Sections:
229 Sections:
269 Sections:
296 Sections:
322 Sections:
[all …]
H A Dhash-section.yaml31 Sections:
66 Sections:
83 Sections:
100 Sections:
117 Sections:
131 Sections:
150 Sections:
172 Sections:
203 Sections:
225 Sections:
[all …]
H A Dllvm-addrsig-section.yaml32 Sections:
57 Sections:
77 Sections:
94 Sections:
116 Sections:
134 Sections:
149 Sections:
169 Sections:
193 Sections:
222 Sections:
[all …]
H A Dnote-section.yaml43 Sections:
65 Sections:
96 Sections:
109 Sections:
127 Sections:
149 Sections:
170 Sections:
188 Sections:
203 Sections:
218 Sections:
[all …]
H A Dsymtab-implicit-sections-size-content.yaml21 Sections:
38 Sections:
50 Sections:
67 Sections:
79 Sections:
109 Sections:
139 Sections:
171 Sections:
203 Sections:
H A Dgnu-hash-section.yaml31 Sections:
89 Sections:
106 Sections:
132 Sections:
144 Sections:
158 Sections:
172 Sections:
194 Sections:
205 Sections:
226 Sections:
[all …]
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp63 std::vector<std::unique_ptr<Section>> Sections; in extractSections() local
75 Sections.push_back( in extractSections()
78 Section &S = *Sections.back(); in extractSections()
113 return std::move(Sections); in extractSections()
138 LC.Sections = std::move(*Sections); in readLoadCommands()
140 return Sections.takeError(); in readLoadCommands()
154 LC.Sections = std::move(*Sections); in readLoadCommands()
156 return Sections.takeError(); in readLoadCommands()
244 std::vector<const Section *> Sections; in setSymbolInRelocationInfo() local
247 Sections.push_back(Sec.get()); in setSymbolInRelocationInfo()
[all …]
/llvm-project-15.0.7/llvm/lib/ObjCopy/wasm/
H A DWasmReader.cpp21 std::vector<Section> Sections; in create() local
22 Obj->Sections.reserve(WasmObj.getNumSections()); in create()
25 Obj->Sections.push_back( in create()
29 Section &ReaderSec = Obj->Sections.back(); in create()
H A DWasmWriter.cpp47 SectionHeaders.reserve(Obj.Sections.size()); in finalize()
49 for (const Section &S : Obj.Sections) { in finalize()
70 Out.write(reinterpret_cast<const char *>(Obj.Sections[I].Contents.data()), in write()
71 Obj.Sections[I].Contents.size()); in write()
/llvm-project-15.0.7/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.cpp56 for (const Section &Sec : Sections) { in markSymbols()
71 Sections.emplace_back(S); in addSections()
77 SectionMap = DenseMap<ssize_t, Section *>(Sections.size()); in updateSections()
79 for (Section &S : Sections) { in updateSections()
96 llvm::erase_if(Sections, [ToRemove, &RemovedSections](const Section &Sec) { in removeSections()
121 for (Section &Sec : Sections) { in truncateSections()
H A DCOFFReader.cpp57 std::vector<Section> Sections; in readSections() local
64 Sections.push_back(Section()); in readSections()
65 Section &S = Sections.back(); in readSections()
80 Obj.addSections(Sections); in readSections()
87 ArrayRef<Section> Sections = Obj.getSections(); in readSymbols() local
130 Sections.size()) in readSymbols()
131 Sym.TargetSectionId = Sections[SymRef.getSectionNumber() - 1].UniqueId; in readSymbols()
141 if (Index <= 0 || static_cast<uint32_t>(Index - 1) >= Sections.size()) in readSymbols()
144 Sym.AssociativeComdatTargetSectionId = Sections[Index - 1].UniqueId; in readSymbols()
/llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/
H A Dstack-sizes.yaml14 # VALID-NEXT: Sections:
28 Sections:
44 # INVALID-NEXT: Sections:
54 Sections:
69 # EMPTY-NEXT: Sections:
79 Sections:
94 # MULTI-NEXT: Sections:
115 Sections:
H A Drelr-section.yaml16 # ELF64LE: Sections:
21 # ELF32LE: Sections:
26 # ELF64BE: Sections:
31 # ELF32BE: Sections:
41 Sections:
60 Sections:
82 Sections:
H A Dnull-section.yaml12 # FIRST-SEC-NEXT: Sections:
30 Sections:
53 # SECOND-SEC-NEXT: Sections:
71 Sections:
95 # NULL-SEC-NEXT: Sections:
105 Sections:
121 # NULL-SEC-MIDDLE-NEXT: Sections:
132 Sections:
H A Dshstrtab.yaml39 Sections:
49 # XINDEX-NEXT: Sections:
95 # DYNSTR-NEXT: Sections:
150 Sections:
175 Sections:
220 Sections:
222 Sections:
259 Sections:
291 Sections:
308 Sections:
[all …]
H A Dbb-addr-map.yaml13 # VALID-NEXT: Sections:
43 Sections:
80 # EMPTY-NEXT: Sections:
90 Sections:
105 # MULTI-NEXT: Sections:
127 Sections:
161 # INVALID-NEXT: Sections:
176 # V0-NEXT: Sections:
192 Sections:
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryContext.h161 SectionSetType Sections; variable
977 FilteredSectionIterator(notNull, Sections.begin(), Sections.end()), in sections()
978 FilteredSectionIterator(notNull, Sections.end(), Sections.end())); in sections()
994 FilteredSectionIterator(isAllocatable, Sections.end(), Sections.end())); in allocatableSections()
1003 FilteredSectionIterator(isText, Sections.begin(), Sections.end()), in textSections()
1004 FilteredSectionIterator(isText, Sections.end(), Sections.end())); in textSections()
1018 FilteredSectionIterator(notAllocated, Sections.begin(), Sections.end()), in nonAllocatableSections()
1019 FilteredSectionIterator(notAllocated, Sections.end(), Sections.end())); in nonAllocatableSections()
1033 Sections.begin(), Sections.end()), in allocatableRelaSections()
1081 if (Sections.begin() != Sections.end() && in getUniqueSectionByName()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DSpecialCaseList.cpp100 StringMap<size_t> Sections; in createInternal() local
109 if (!parse(FileOrErr.get().get(), Sections, ParseError)) { in createInternal()
119 StringMap<size_t> Sections; in createInternal() local
120 if (!parse(MB, Sections, Error)) in createInternal()
186 SectionsMap[Section] = Sections.size(); in parse()
187 Sections.emplace_back(std::move(M)); in parse()
190 auto &Entry = Sections[SectionsMap[Section]].Entries[Prefix][Category]; in parse()
211 for (const auto &SectionIter : Sections) in inSectionBlame()
/llvm-project-15.0.7/llvm/lib/ObjCopy/XCOFF/
H A DXCOFFWriter.cpp24 FileSize += sizeof(XCOFFSectionHeader32) * Obj.Sections.size(); in finalizeHeaders()
28 for (const Section &Sec : Obj.Sections) { in finalizeSections()
67 for (const Section &Sec : Obj.Sections) { in writeHeaders()
75 for (const Section &Sec : Obj.Sections) { in writeSections()
82 for (const Section &Sec : Obj.Sections) { in writeSections()
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Dshared-strtab-shstrtab.s22 # BASIC: Sections [
33 # SECTION-RENAME: Sections [
44 # SYMBOL-RENAME: Sections [
55 # SECTION-REMOVE: Sections [
65 # SYMBOL-REMOVE: Sections [
75 # SECTION-ADD: Sections [
87 # SYMBOL-ADD: Sections [
99 # STRIP-ALL: Sections [
/llvm-project-15.0.7/lld/test/ELF/
H A Dmips-fp-flags-err.test40 Sections:
59 Sections:
78 Sections:
97 Sections:
116 Sections:
135 Sections:
154 Sections:

12345678910>>...49