Lines Matching refs:WasmSec
29 dumpCustomSection(const WasmSection &WasmSec);
52 WasmDumper::dumpCustomSection(const WasmSection &WasmSec) { in dumpCustomSection() argument
54 if (WasmSec.Name == "dylink" || WasmSec.Name == "dylink.0") { in dumpCustomSection()
68 } else if (WasmSec.Name == "name") { in dumpCustomSection()
85 } else if (WasmSec.Name == "linking") { in dumpCustomSection()
118 const WasmSection &WasmSec = Obj.getWasmSection(Sec); in dumpCustomSection() local
119 if (WasmSec.Comdat != UINT32_MAX) in dumpCustomSection()
120 LinkingSec->Comdats[WasmSec.Comdat].Entries.emplace_back( in dumpCustomSection()
155 } else if (WasmSec.Name == "producers") { in dumpCustomSection()
178 } else if (WasmSec.Name == "target_features") { in dumpCustomSection()
189 CustomSec = std::make_unique<WasmYAML::CustomSection>(WasmSec.Name); in dumpCustomSection()
191 CustomSec->Payload = yaml::BinaryRef(WasmSec.Content); in dumpCustomSection()
203 const WasmSection &WasmSec = Obj.getWasmSection(Sec); in dump() local
205 switch (WasmSec.Type) { in dump()
207 if (WasmSec.Name.startswith("reloc.")) { in dump()
212 S = dumpCustomSection(WasmSec); in dump()
395 for (const wasm::WasmRelocation &Reloc : WasmSec.Relocations) { in dump()