Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ObjectYAML/
DWasmYAML.h167 struct CustomSection : Section { struct
168 explicit CustomSection(StringRef Name) in CustomSection() argument
179 struct NameSection : CustomSection { argument
180 NameSection() : CustomSection("name") {} in NameSection()
183 auto C = dyn_cast<CustomSection>(S); in classof()
190 struct LinkingSection : CustomSection {
191 LinkingSection() : CustomSection("linking") {} in LinkingSection()
194 auto C = dyn_cast<CustomSection>(S); in classof()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2wasm.cpp33 int writeSectionContent(raw_ostream &OS, WasmYAML::CustomSection &Section);
240 WasmYAML::CustomSection &Section) { in writeSectionContent()
438 auto CustomSection = dyn_cast<WasmYAML::CustomSection>(&Sec); in writeRelocSection() local
439 if (!CustomSection->Name.startswith(".debug_")) { in writeRelocSection()
444 writeStringRef(("reloc." + CustomSection->Name).str(), OS); in writeRelocSection()
492 if (auto S = dyn_cast<WasmYAML::CustomSection>(Sec.get())) { in writeWasm()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
DWasmYAML.cpp67 static void sectionMapping(IO &IO, WasmYAML::CustomSection &Section) { in sectionMapping()
140 auto CustomSection = cast<WasmYAML::CustomSection>(Section.get()); in mapping() local
141 SectionName = CustomSection->Name; in mapping()
155 Section.reset(new WasmYAML::CustomSection(SectionName)); in mapping()
156 sectionMapping(IO, *cast<WasmYAML::CustomSection>(Section.get())); in mapping()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Dwasm2yaml.cpp29 std::unique_ptr<WasmYAML::CustomSection>
52 std::unique_ptr<WasmYAML::CustomSection> WasmDumper::dumpCustomSection(const WasmSection &WasmSec) { in dumpCustomSection()
53 std::unique_ptr<WasmYAML::CustomSection> CustomSec; in dumpCustomSection()
123 CustomSec = make_unique<WasmYAML::CustomSection>(WasmSec.Name); in dumpCustomSection()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DWasmObjectWriter.cpp1013 for (auto &CustomSection : CustomSections) { in writeCustomSections() local
1015 auto *Sec = CustomSection.Section; in writeCustomSections()
1016 startCustomSection(Section, CustomSection.Name); in writeCustomSections()
1021 CustomSection.OutputContentsOffset = Section.ContentsOffset; in writeCustomSections()
1022 CustomSection.OutputIndex = Section.Index; in writeCustomSections()
1027 auto &Relocations = CustomSectionsRelocations[CustomSection.Section]; in writeCustomSections()
1028 applyRelocations(Relocations, CustomSection.OutputContentsOffset); in writeCustomSections()