Searched refs:CustomSection (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/ |
| H A D | WasmYAML.h | 194 struct CustomSection : Section { struct 195 explicit CustomSection(StringRef Name) in CustomSection() function 217 struct DylinkSection : CustomSection { argument 221 auto C = dyn_cast<CustomSection>(S); in classof() 234 struct NameSection : CustomSection { 238 auto C = dyn_cast<CustomSection>(S); in classof() 247 struct LinkingSection : CustomSection { 251 auto C = dyn_cast<CustomSection>(S); in classof() 262 struct ProducersSection : CustomSection { 266 auto C = dyn_cast<CustomSection>(S); in classof() [all …]
|
| /llvm-project-15.0.7/lld/wasm/ |
| H A D | OutputSections.cpp | 215 void CustomSection::finalizeInputSections() { in finalizeInputSections() 243 void CustomSection::finalizeContents() { in finalizeContents() 260 void CustomSection::writeTo(uint8_t *buf) { in writeTo() 278 uint32_t CustomSection::getNumRelocations() const { in getNumRelocations() 285 void CustomSection::writeRelocations(raw_ostream &os) const { in writeRelocations()
|
| H A D | OutputSections.h | 109 class CustomSection : public OutputSection { 111 CustomSection(std::string name, ArrayRef<InputChunk *> inputSections) in CustomSection() function
|
| H A D | Writer.cpp | 161 OutputSection *sec = make<CustomSection>(std::string(name), pair.second); in createCustomSections()
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | WasmEmitter.cpp | 38 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 D | WasmYAML.cpp | 94 static void sectionMapping(IO &IO, WasmYAML::CustomSection &Section) { in sectionMapping() 177 auto CustomSection = cast<WasmYAML::CustomSection>(Section.get()); in mapping() local 178 SectionName = CustomSection->Name; in mapping() 204 Section.reset(new WasmYAML::CustomSection(SectionName)); in mapping() 205 sectionMapping(IO, *cast<WasmYAML::CustomSection>(Section.get())); in mapping()
|
| /llvm-project-15.0.7/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() 189 CustomSec = std::make_unique<WasmYAML::CustomSection>(WasmSec.Name); in dumpCustomSection()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | WasmObjectWriter.cpp | 350 void writeCustomSection(WasmCustomSection &CustomSection, 1242 void WasmObjectWriter::writeCustomSection(WasmCustomSection &CustomSection, in writeCustomSection() argument 1246 auto *Sec = CustomSection.Section; in writeCustomSection() 1247 startCustomSection(Section, CustomSection.Name); in writeCustomSection() 1252 CustomSection.OutputContentsOffset = Section.ContentsOffset; in writeCustomSection() 1253 CustomSection.OutputIndex = Section.Index; in writeCustomSection() 1258 auto &Relocations = CustomSectionsRelocations[CustomSection.Section]; in writeCustomSection() 1259 applyRelocations(Relocations, CustomSection.OutputContentsOffset, Layout); in writeCustomSection() 1954 for (auto &CustomSection : CustomSections) in writeOneObject() local 1955 writeCustomSection(CustomSection, Asm, Layout); in writeOneObject()
|