reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
184 assert(Info.Index == SymbolIndex++); 185 writeUint8(SubSection.getStream(), Info.Kind); 186 encodeULEB128(Info.Flags, SubSection.getStream()); 187 switch (Info.Kind) { 191 encodeULEB128(Info.ElementIndex, SubSection.getStream()); 192 if ((Info.Flags & wasm::WASM_SYMBOL_UNDEFINED) == 0 || 193 (Info.Flags & wasm::WASM_SYMBOL_EXPLICIT_NAME) != 0) 194 writeStringRef(Info.Name, SubSection.getStream()); 197 writeStringRef(Info.Name, SubSection.getStream()); 198 if ((Info.Flags & wasm::WASM_SYMBOL_UNDEFINED) == 0) { 199 encodeULEB128(Info.DataRef.Segment, SubSection.getStream()); 200 encodeULEB128(Info.DataRef.Offset, SubSection.getStream()); 201 encodeULEB128(Info.DataRef.Size, SubSection.getStream()); 205 encodeULEB128(Info.ElementIndex, SubSection.getStream());