Searched refs:CustomSection (Results 1 – 5 of 5) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/ |
| H A D | WasmYAML.h | 190 struct CustomSection : Section { struct 191 explicit CustomSection(StringRef Name) in CustomSection() argument 202 struct DylinkSection : CustomSection { argument 203 DylinkSection() : CustomSection("dylink") {} in DylinkSection() 206 auto C = dyn_cast<CustomSection>(S); in classof() 217 struct NameSection : CustomSection { 218 NameSection() : CustomSection("name") {} in NameSection() 221 auto C = dyn_cast<CustomSection>(S); in classof() 230 struct LinkingSection : CustomSection { 231 LinkingSection() : CustomSection("linking") {} in LinkingSection() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
| H A D | WasmEmitter.cpp | 38 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 D | WasmYAML.cpp | 92 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/ |
| H A D | wasm2yaml.cpp | 28 std::unique_ptr<WasmYAML::CustomSection> 51 std::unique_ptr<WasmYAML::CustomSection> 53 std::unique_ptr<WasmYAML::CustomSection> CustomSec; in dumpCustomSection() 185 CustomSec = std::make_unique<WasmYAML::CustomSection>(WasmSec.Name); in dumpCustomSection()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/ |
| H A D | WasmObjectWriter.cpp | 329 void writeCustomSection(WasmCustomSection &CustomSection, 1173 void WasmObjectWriter::writeCustomSection(WasmCustomSection &CustomSection, in writeCustomSection() argument 1177 auto *Sec = CustomSection.Section; in writeCustomSection() 1178 startCustomSection(Section, CustomSection.Name); in writeCustomSection() 1183 CustomSection.OutputContentsOffset = Section.ContentsOffset; in writeCustomSection() 1184 CustomSection.OutputIndex = Section.Index; in writeCustomSection() 1189 auto &Relocations = CustomSectionsRelocations[CustomSection.Section]; in writeCustomSection() 1190 applyRelocations(Relocations, CustomSection.OutputContentsOffset, Layout); in writeCustomSection() 1883 for (auto &CustomSection : CustomSections) in writeOneObject() local 1884 writeCustomSection(CustomSection, Asm, Layout); in writeOneObject()
|