reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/ObjectYAML/WasmEmitter.cpp
  553     if (auto S = dyn_cast<WasmYAML::CustomSection>(Sec.get()))
  555     if (!Checker.isValidSectionOrder(Sec->Type, SecName)) {
  556       reportError("out of order section type: " + Twine(Sec->Type));
  559     encodeULEB128(Sec->Type, OS);
  562     if (auto S = dyn_cast<WasmYAML::CustomSection>(Sec.get()))
  564     else if (auto S = dyn_cast<WasmYAML::TypeSection>(Sec.get()))
  566     else if (auto S = dyn_cast<WasmYAML::ImportSection>(Sec.get()))
  568     else if (auto S = dyn_cast<WasmYAML::FunctionSection>(Sec.get()))
  570     else if (auto S = dyn_cast<WasmYAML::TableSection>(Sec.get()))
  572     else if (auto S = dyn_cast<WasmYAML::MemorySection>(Sec.get()))
  574     else if (auto S = dyn_cast<WasmYAML::GlobalSection>(Sec.get()))
  576     else if (auto S = dyn_cast<WasmYAML::EventSection>(Sec.get()))
  578     else if (auto S = dyn_cast<WasmYAML::ExportSection>(Sec.get()))
  580     else if (auto S = dyn_cast<WasmYAML::StartSection>(Sec.get()))
  582     else if (auto S = dyn_cast<WasmYAML::ElemSection>(Sec.get()))
  584     else if (auto S = dyn_cast<WasmYAML::CodeSection>(Sec.get()))
  586     else if (auto S = dyn_cast<WasmYAML::DataSection>(Sec.get()))
  588     else if (auto S = dyn_cast<WasmYAML::DataCountSection>(Sec.get()))
  591       reportError("unknown section type: " + Twine(Sec->Type));