Lines Matching defs:SectionKind
155 SectionDescriptor(DebugSectionKind SectionKind, LinkingGlobalData &GlobalData,
157 : SectionDescriptorBase(SectionKind, Format, Endianess), OS(Contents),
313 /// Returns descriptor for the specified section of \p SectionKind.
317 getSectionDescriptor(DebugSectionKind SectionKind) const {
318 SectionsSetTy::const_iterator It = SectionDescriptors.find(SectionKind);
322 formatv("Section {0} does not exist", getSectionName(SectionKind))
329 /// Returns descriptor for the specified section of \p SectionKind.
332 SectionDescriptor &getSectionDescriptor(DebugSectionKind SectionKind) {
333 SectionsSetTy::iterator It = SectionDescriptors.find(SectionKind);
337 formatv("Section {0} does not exist", getSectionName(SectionKind))
346 /// Returns descriptor for the specified section of \p SectionKind.
349 tryGetSectionDescriptor(DebugSectionKind SectionKind) const {
350 SectionsSetTy::const_iterator It = SectionDescriptors.find(SectionKind);
358 /// Returns descriptor for the specified section of \p SectionKind.
361 tryGetSectionDescriptor(DebugSectionKind SectionKind) {
362 SectionsSetTy::iterator It = SectionDescriptors.find(SectionKind);
370 /// Returns descriptor for the specified section of \p SectionKind.
373 getOrCreateSectionDescriptor(DebugSectionKind SectionKind) {
374 auto [It, Inserted] = SectionDescriptors.try_emplace(SectionKind);
377 It->second = std::make_shared<SectionDescriptor>(SectionKind, GlobalData,