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

References

lib/ObjectYAML/WasmYAML.cpp
  485   IO.mapRequired("Index", Info.Index);
  486   IO.mapRequired("Kind", Info.Kind);
  487   if (Info.Kind != wasm::WASM_SYMBOL_TYPE_SECTION)
  488     IO.mapRequired("Name", Info.Name);
  489   IO.mapRequired("Flags", Info.Flags);
  490   if (Info.Kind == wasm::WASM_SYMBOL_TYPE_FUNCTION) {
  491     IO.mapRequired("Function", Info.ElementIndex);
  492   } else if (Info.Kind == wasm::WASM_SYMBOL_TYPE_GLOBAL) {
  493     IO.mapRequired("Global", Info.ElementIndex);
  494   } else if (Info.Kind == wasm::WASM_SYMBOL_TYPE_EVENT) {
  495     IO.mapRequired("Event", Info.ElementIndex);
  496   } else if (Info.Kind == wasm::WASM_SYMBOL_TYPE_DATA) {
  497     if ((Info.Flags & wasm::WASM_SYMBOL_UNDEFINED) == 0) {
  498       IO.mapRequired("Segment", Info.DataRef.Segment);
  499       IO.mapOptional("Offset", Info.DataRef.Offset, 0u);
  500       IO.mapRequired("Size", Info.DataRef.Size);
  502   } else if (Info.Kind == wasm::WASM_SYMBOL_TYPE_SECTION) {
  503     IO.mapRequired("Section", Info.ElementIndex);