Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h195 struct CustomSection : Section { struct
196 explicit CustomSection(StringRef Name) in CustomSection() function
218 struct DylinkSection : CustomSection { argument
222 auto C = dyn_cast<CustomSection>(S); in classof()
235 struct NameSection : CustomSection {
239 auto C = dyn_cast<CustomSection>(S); in classof()
248 struct LinkingSection : CustomSection {
252 auto C = dyn_cast<CustomSection>(S); in classof()
263 struct ProducersSection : CustomSection {
267 auto C = dyn_cast<CustomSection>(S); in classof()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp38 void writeSectionContent(raw_ostream &OS, WasmYAML::CustomSection &Section);
347 WasmYAML::CustomSection &Section) { in writeSectionContent()
575 auto *CustomSection = cast<WasmYAML::CustomSection>(&Sec); in writeRelocSection() local
576 writeStringRef(("reloc." + CustomSection->Name).str(), OS); in writeRelocSection()
604 if (auto S = dyn_cast<WasmYAML::CustomSection>(Sec.get())) in writeWasm()
613 if (auto S = dyn_cast<WasmYAML::CustomSection>(Sec.get())) in writeWasm()
H A DWasmYAML.cpp95 static void sectionMapping(IO &IO, WasmYAML::CustomSection &Section) { in sectionMapping()
178 auto CustomSection = cast<WasmYAML::CustomSection>(Section.get()); in mapping() local
179 SectionName = CustomSection->Name; in mapping()
205 Section.reset(new WasmYAML::CustomSection(SectionName)); in mapping()
206 sectionMapping(IO, *cast<WasmYAML::CustomSection>(Section.get())); in mapping()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp350 void writeCustomSection(WasmCustomSection &CustomSection,
1241 void WasmObjectWriter::writeCustomSection(WasmCustomSection &CustomSection, in writeCustomSection() argument
1245 auto *Sec = CustomSection.Section; in writeCustomSection()
1246 startCustomSection(Section, CustomSection.Name); in writeCustomSection()
1251 CustomSection.OutputContentsOffset = Section.ContentsOffset; in writeCustomSection()
1252 CustomSection.OutputIndex = Section.Index; in writeCustomSection()
1257 auto &Relocations = CustomSectionsRelocations[CustomSection.Section]; in writeCustomSection()
1258 applyRelocations(Relocations, CustomSection.OutputContentsOffset, Layout); in writeCustomSection()
1948 for (auto &CustomSection : CustomSections) in writeOneObject() local
1949 writeCustomSection(CustomSection, Asm, Layout); in writeOneObject()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp589 MCSectionWasm *CustomSection = OutContext.getWasmSection( in EmitFunctionAttributes() local
592 OutStreamer->switchSection(CustomSection); in EmitFunctionAttributes()