Lines Matching full:seg
177 const wasm::WasmDataSegment &Seg = Segment.Data;
179 if (!Seg.Name.empty())
180 W.printString("Name", Seg.Name);
181 W.printNumber("Size", static_cast<uint64_t>(Seg.Content.size()));
182 if (Seg.Offset.Extended)
184 else if (Seg.Offset.Inst.Opcode == wasm::WASM_OPCODE_I32_CONST)
185 W.printNumber("Offset", Seg.Offset.Inst.Value.Int32);
186 else if (Seg.Offset.Inst.Opcode == wasm::WASM_OPCODE_I64_CONST)
187 W.printNumber("Offset", Seg.Offset.Inst.Value.Int64);
188 else if (Seg.Offset.Inst.Opcode == wasm::WASM_OPCODE_GLOBAL_GET) {
190 W.printNumber("Global", Seg.Offset.Inst.Value.Global);