Home
last modified time | relevance | path

Searched refs:CustomSection (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h174 struct CustomSection : Section { struct
175 explicit CustomSection(StringRef Name) in CustomSection() argument
186 struct DylinkSection : CustomSection { argument
187 DylinkSection() : CustomSection("dylink") {} in DylinkSection()
190 auto C = dyn_cast<CustomSection>(S); in classof()
201 struct NameSection : CustomSection {
202 NameSection() : CustomSection("name") {} in NameSection()
205 auto C = dyn_cast<CustomSection>(S); in classof()
212 struct LinkingSection : CustomSection {
213 LinkingSection() : CustomSection("linking") {} in LinkingSection()
[all …]
/freebsd-12.1/contrib/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp77 static void sectionMapping(IO &IO, WasmYAML::CustomSection &Section) { in sectionMapping()
155 auto CustomSection = cast<WasmYAML::CustomSection>(Section.get()); in mapping() local
156 SectionName = CustomSection->Name; in mapping()
174 Section.reset(new WasmYAML::CustomSection(SectionName)); in mapping()
175 sectionMapping(IO, *cast<WasmYAML::CustomSection>(Section.get())); in mapping()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DWasmObjectWriter.cpp1057 for (auto &CustomSection : CustomSections) { in writeCustomSections() local
1059 auto *Sec = CustomSection.Section; in writeCustomSections()
1060 startCustomSection(Section, CustomSection.Name); in writeCustomSections()
1065 CustomSection.OutputContentsOffset = Section.ContentsOffset; in writeCustomSections()
1066 CustomSection.OutputIndex = Section.Index; in writeCustomSections()
1071 auto &Relocations = CustomSectionsRelocations[CustomSection.Section]; in writeCustomSections()
1072 applyRelocations(Relocations, CustomSection.OutputContentsOffset); in writeCustomSections()