Lines Matching defs:CustomSection
347 void writeCustomSection(WasmCustomSection &CustomSection,
1236 void WasmObjectWriter::writeCustomSection(WasmCustomSection &CustomSection,
1239 auto *Sec = CustomSection.Section;
1240 startCustomSection(Section, CustomSection.Name);
1245 CustomSection.OutputContentsOffset = Section.ContentsOffset;
1246 CustomSection.OutputIndex = Section.Index;
1251 auto &Relocations = CustomSectionsRelocations[CustomSection.Section];
1252 applyRelocations(Relocations, CustomSection.OutputContentsOffset, Asm);
1948 for (auto &CustomSection : CustomSections)
1949 writeCustomSection(CustomSection, Asm);