Home
last modified time | relevance | path

Searched refs:WasmSec (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DWasmDumper.cpp160 const WasmSection &WasmSec = Obj->getWasmSection(Section); in printSections() local
162 W.printEnum("Type", WasmSec.Type, makeArrayRef(WasmSectionTypes)); in printSections()
163 W.printNumber("Size", static_cast<uint64_t>(WasmSec.Content.size())); in printSections()
164 W.printNumber("Offset", WasmSec.Offset); in printSections()
165 switch (WasmSec.Type) { in printSections()
167 W.printString("Name", WasmSec.Name); in printSections()
168 if (WasmSec.Name == "linking") { in printSections()
196 W.printNumber("MaxPages", WasmSec.Offset); in printSections()
209 W.printBinaryBlock("SectionData", WasmSec.Content); in printSections()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Dwasm2yaml.cpp30 dumpCustomSection(const WasmSection &WasmSec);
52 std::unique_ptr<WasmYAML::CustomSection> WasmDumper::dumpCustomSection(const WasmSection &WasmSec) { in dumpCustomSection() argument
54 if (WasmSec.Name == "name") { in dumpCustomSection()
63 } else if (WasmSec.Name == "linking") { in dumpCustomSection()
123 CustomSec = make_unique<WasmYAML::CustomSection>(WasmSec.Name); in dumpCustomSection()
125 CustomSec->Payload = yaml::BinaryRef(WasmSec.Content); in dumpCustomSection()
137 const WasmSection &WasmSec = Obj.getWasmSection(Sec); in dump() local
139 switch (WasmSec.Type) { in dump()
141 if (WasmSec.Name.startswith("reloc.")) { in dump()
146 S = dumpCustomSection(WasmSec); in dump()
[all …]