Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h190 struct CustomSection : Section { struct
191 explicit CustomSection(StringRef Name) in CustomSection() function
202 struct DylinkSection : CustomSection { argument
206 auto C = dyn_cast<CustomSection>(S); in classof()
217 struct NameSection : CustomSection {
221 auto C = dyn_cast<CustomSection>(S); in classof()
230 struct LinkingSection : CustomSection {
234 auto C = dyn_cast<CustomSection>(S); in classof()
245 struct ProducersSection : CustomSection {
249 auto C = dyn_cast<CustomSection>(S); in classof()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp38 void writeSectionContent(raw_ostream &OS, WasmYAML::CustomSection &Section);
334 WasmYAML::CustomSection &Section) { in writeSectionContent()
568 auto *CustomSection = cast<WasmYAML::CustomSection>(&Sec); in writeRelocSection() local
569 writeStringRef(("reloc." + CustomSection->Name).str(), OS); in writeRelocSection()
608 if (auto S = dyn_cast<WasmYAML::CustomSection>(Sec.get())) in writeWasm()
617 if (auto S = dyn_cast<WasmYAML::CustomSection>(Sec.get())) in writeWasm()
H A DWasmYAML.cpp92 static void sectionMapping(IO &IO, WasmYAML::CustomSection &Section) { in sectionMapping()
175 auto CustomSection = cast<WasmYAML::CustomSection>(Section.get()); in mapping() local
176 SectionName = CustomSection->Name; in mapping()
202 Section.reset(new WasmYAML::CustomSection(SectionName)); in mapping()
203 sectionMapping(IO, *cast<WasmYAML::CustomSection>(Section.get())); in mapping()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp329 void writeCustomSection(WasmCustomSection &CustomSection,
1184 void WasmObjectWriter::writeCustomSection(WasmCustomSection &CustomSection, in writeCustomSection() argument
1188 auto *Sec = CustomSection.Section; in writeCustomSection()
1189 startCustomSection(Section, CustomSection.Name); in writeCustomSection()
1194 CustomSection.OutputContentsOffset = Section.ContentsOffset; in writeCustomSection()
1195 CustomSection.OutputIndex = Section.Index; in writeCustomSection()
1200 auto &Relocations = CustomSectionsRelocations[CustomSection.Section]; in writeCustomSection()
1201 applyRelocations(Relocations, CustomSection.OutputContentsOffset, Layout); in writeCustomSection()
1894 for (auto &CustomSection : CustomSections) in writeOneObject() local
1895 writeCustomSection(CustomSection, Asm, Layout); in writeOneObject()