Lines Matching refs:W

80   W.printHex("Version", Obj->getHeader().Version);
98 DictScope Group(W, "Relocation");
99 W.printNumber("Type", RelocTypeName, RelocType);
100 W.printHex("Offset", Reloc.getOffset());
102 W.printString("Symbol", SymName);
104 W.printHex("Index", WasmReloc.Index);
106 W.printNumber("Addend", WasmReloc.Addend);
108 raw_ostream &OS = W.startLine();
109 OS << W.hex(Reloc.getOffset()) << " " << RelocTypeName << " ";
121 ListScope D(W, "Relocations");
132 W.startLine() << "Section (" << SectionNumber << ") " << Name << " {\n";
133 W.indent();
141 W.unindent();
142 W.startLine() << "}\n";
148 ListScope Group(W, "Symbols");
155 ListScope Group(W, "Sections");
158 DictScope SectionD(W, "Section");
159 W.printEnum("Type", WasmSec.Type, ArrayRef(WasmSectionTypes));
160 W.printNumber("Size", static_cast<uint64_t>(WasmSec.Content.size()));
161 W.printNumber("Offset", WasmSec.Offset);
164 W.printString("Name", WasmSec.Name);
168 ListScope Group(W, "InitFunctions");
170 W.startLine() << F.Symbol << " (priority=" << F.Priority << ")\n";
175 ListScope Group(W, "Segments");
178 DictScope Group(W, "Segment");
180 W.printString("Name", Seg.Name);
181 W.printNumber("Size", static_cast<uint64_t>(Seg.Content.size()));
185 W.printNumber("Offset", Seg.Offset.Inst.Value.Int32);
187 W.printNumber("Offset", Seg.Offset.Inst.Value.Int64);
189 ListScope Group(W, "Offset");
190 W.printNumber("Global", Seg.Offset.Inst.Value.Global);
197 ListScope Group(W, "Memories");
199 DictScope Group(W, "Memory");
200 W.printNumber("MinPages", Memory.Minimum);
202 W.printNumber("MaxPages", WasmSec.Offset);
209 ListScope D(W, "Relocations");
215 W.printBinaryBlock("SectionData", WasmSec.Content);
221 DictScope D(W, "Symbol");
223 W.printString("Name", Symbol.Info.Name);
224 W.printEnum("Type", Symbol.Info.Kind, ArrayRef(WasmSymbolTypes));
225 W.printFlags("Flags", Symbol.Info.Flags, ArrayRef(WasmSymbolFlags));
229 W.printString("ImportName", *Symbol.Info.ImportName);
232 W.printString("ImportModule", *Symbol.Info.ImportModule);
236 W.printHex("ElementIndex", Symbol.Info.ElementIndex);
238 W.printHex("Offset", Symbol.Info.DataRef.Offset);
239 W.printHex("Segment", Symbol.Info.DataRef.Segment);
240 W.printHex("Size", Symbol.Info.DataRef.Size);