Lines Matching refs:W
34 ScopedPrinter &W, CPUType CPU, bool PrintRecordBytes) in CVSymbolDumperImpl() argument
35 : Types(Types), ObjDelegate(ObjDelegate), W(W), CompilationCPUType(CPU), in CVSymbolDumperImpl()
58 ScopedPrinter &W; member in __anona68489110111::CVSymbolDumperImpl
82 DictScope S(W, "LocalVariableAddrRange"); in printLocalVariableAddrRange()
86 W.printHex("ISectStart", Range.ISectStart); in printLocalVariableAddrRange()
87 W.printHex("Range", Range.Range); in printLocalVariableAddrRange()
93 ListScope S(W, "LocalVariableAddrGap"); in printLocalVariableAddrGap()
94 W.printHex("GapStartOffset", Gap.GapStartOffset); in printLocalVariableAddrGap()
95 W.printHex("Range", Gap.Range); in printLocalVariableAddrGap()
100 codeview::printTypeIndex(W, FieldName, TI, Types); in printTypeIndex()
104 W.startLine() << getSymbolKindName(CVR.kind()); in visitSymbolBegin()
105 W.getOStream() << " {\n"; in visitSymbolBegin()
106 W.indent(); in visitSymbolBegin()
107 W.printEnum("Kind", unsigned(CVR.kind()), getSymbolTypeNames()); in visitSymbolBegin()
115 W.unindent(); in visitSymbolEnd()
116 W.startLine() << "}\n"; in visitSymbolEnd()
122 W.printHex("PtrParent", Block.Parent); in visitKnownRecord()
123 W.printHex("PtrEnd", Block.End); in visitKnownRecord()
124 W.printHex("CodeSize", Block.CodeSize); in visitKnownRecord()
129 W.printHex("Segment", Block.Segment); in visitKnownRecord()
130 W.printString("BlockName", Block.Name); in visitKnownRecord()
131 W.printString("LinkageName", LinkageName); in visitKnownRecord()
136 W.printString("Name", Thunk.Name); in visitKnownRecord()
137 W.printNumber("Parent", Thunk.Parent); in visitKnownRecord()
138 W.printNumber("End", Thunk.End); in visitKnownRecord()
139 W.printNumber("Next", Thunk.Next); in visitKnownRecord()
140 W.printNumber("Off", Thunk.Offset); in visitKnownRecord()
141 W.printNumber("Seg", Thunk.Segment); in visitKnownRecord()
142 W.printNumber("Len", Thunk.Length); in visitKnownRecord()
143 W.printEnum("Ordinal", uint8_t(Thunk.Thunk), getThunkOrdinalNames()); in visitKnownRecord()
149 W.printEnum("Type", uint16_t(Tramp.Type), getTrampolineNames()); in visitKnownRecord()
150 W.printNumber("Size", Tramp.Size); in visitKnownRecord()
151 W.printNumber("ThunkOff", Tramp.ThunkOffset); in visitKnownRecord()
152 W.printNumber("TargetOff", Tramp.TargetOffset); in visitKnownRecord()
153 W.printNumber("ThunkSection", Tramp.ThunkSection); in visitKnownRecord()
154 W.printNumber("TargetSection", Tramp.TargetSection); in visitKnownRecord()
159 W.printNumber("SectionNumber", Section.SectionNumber); in visitKnownRecord()
160 W.printNumber("Alignment", Section.Alignment); in visitKnownRecord()
161 W.printNumber("Rva", Section.Rva); in visitKnownRecord()
162 W.printNumber("Length", Section.Length); in visitKnownRecord()
163 W.printFlags("Characteristics", Section.Characteristics, in visitKnownRecord()
167 W.printString("Name", Section.Name); in visitKnownRecord()
173 W.printNumber("Size", CoffGroup.Size); in visitKnownRecord()
174 W.printFlags("Characteristics", CoffGroup.Characteristics, in visitKnownRecord()
177 W.printNumber("Offset", CoffGroup.Offset); in visitKnownRecord()
178 W.printNumber("Segment", CoffGroup.Segment); in visitKnownRecord()
179 W.printString("Name", CoffGroup.Name); in visitKnownRecord()
185 W.printNumber("Offset", BPRel.Offset); in visitKnownRecord()
187 W.printString("VarName", BPRel.Name); in visitKnownRecord()
205 W.printHex("Segment", CallSiteInfo.Segment); in visitKnownRecord()
208 W.printString("LinkageName", LinkageName); in visitKnownRecord()
214 ListScope L(W, "Entries"); in visitKnownRecord()
216 W.printString(Entry); in visitKnownRecord()
224 W.printNumber("ModFilenameOffset", FileStatic.ModFilenameOffset); in visitKnownRecord()
225 W.printFlags("Flags", uint16_t(FileStatic.Flags), getLocalFlagNames()); in visitKnownRecord()
226 W.printString("Name", FileStatic.Name); in visitKnownRecord()
231 W.printNumber("Ordinal", Export.Ordinal); in visitKnownRecord()
232 W.printFlags("Flags", uint16_t(Export.Flags), getExportSymFlagNames()); in visitKnownRecord()
233 W.printString("Name", Export.Name); in visitKnownRecord()
239 W.printEnum("Language", Compile2.getLanguage(), getSourceLanguageNames()); in visitKnownRecord()
240 W.printFlags("Flags", Compile2.getFlags(), getCompileSym2FlagNames()); in visitKnownRecord()
241 W.printEnum("Machine", unsigned(Compile2.Machine), getCPUTypeNames()); in visitKnownRecord()
255 W.printString("FrontendVersion", FrontendVersion); in visitKnownRecord()
256 W.printString("BackendVersion", BackendVersion); in visitKnownRecord()
257 W.printString("VersionName", Compile2.Version); in visitKnownRecord()
263 W.printEnum("Language", uint8_t(Compile3.getLanguage()), getSourceLanguageNames()); in visitKnownRecord()
264 W.printFlags("Flags", uint32_t(Compile3.getFlags()), in visitKnownRecord()
266 W.printEnum("Machine", unsigned(Compile3.Machine), getCPUTypeNames()); in visitKnownRecord()
282 W.printString("FrontendVersion", FrontendVersion); in visitKnownRecord()
283 W.printString("BackendVersion", BackendVersion); in visitKnownRecord()
284 W.printString("VersionName", Compile3.Version); in visitKnownRecord()
291 W.printNumber("Value", Constant.Value); in visitKnownRecord()
292 W.printString("Name", Constant.Name); in visitKnownRecord()
303 W.printString("DisplayName", Data.Name); in visitKnownRecord()
305 W.printString("LinkageName", LinkageName); in visitKnownRecord()
312 W.printNumber("Offset", DefRangeFramePointerRelFullScope.Offset); in visitKnownRecord()
318 W.printNumber("Offset", DefRangeFramePointerRel.Hdr.Offset); in visitKnownRecord()
327 W.printEnum("BaseRegister", uint16_t(DefRangeRegisterRel.Hdr.Register), in visitKnownRecord()
329 W.printBoolean("HasSpilledUDTMember", in visitKnownRecord()
331 W.printNumber("OffsetInParent", DefRangeRegisterRel.offsetInParent()); in visitKnownRecord()
332 W.printNumber("BasePointerOffset", DefRangeRegisterRel.Hdr.BasePointerOffset); in visitKnownRecord()
341 W.printEnum("Register", uint16_t(DefRangeRegister.Hdr.Register), in visitKnownRecord()
343 W.printNumber("MayHaveNoName", DefRangeRegister.Hdr.MayHaveNoName); in visitKnownRecord()
352 W.printEnum("Register", uint16_t(DefRangeSubfieldRegister.Hdr.Register), in visitKnownRecord()
354 W.printNumber("MayHaveNoName", DefRangeSubfieldRegister.Hdr.MayHaveNoName); in visitKnownRecord()
355 W.printNumber("OffsetInParent", DefRangeSubfieldRegister.Hdr.OffsetInParent); in visitKnownRecord()
372 W.printString("Program", *ExpectedProgram); in visitKnownRecord()
374 W.printNumber("OffsetInParent", DefRangeSubfield.OffsetInParent); in visitKnownRecord()
391 W.printString("Program", *ExpectedProgram); in visitKnownRecord()
406 W.printEnum("Register", uint16_t(FrameCookie.Register), in visitKnownRecord()
408 W.printEnum("CookieKind", uint16_t(FrameCookie.CookieKind), in visitKnownRecord()
410 W.printHex("Flags", FrameCookie.Flags); in visitKnownRecord()
416 W.printHex("TotalFrameBytes", FrameProc.TotalFrameBytes); in visitKnownRecord()
417 W.printHex("PaddingFrameBytes", FrameProc.PaddingFrameBytes); in visitKnownRecord()
418 W.printHex("OffsetToPadding", FrameProc.OffsetToPadding); in visitKnownRecord()
419 W.printHex("BytesOfCalleeSavedRegisters", in visitKnownRecord()
421 W.printHex("OffsetOfExceptionHandler", FrameProc.OffsetOfExceptionHandler); in visitKnownRecord()
422 W.printHex("SectionIdOfExceptionHandler", in visitKnownRecord()
424 W.printFlags("Flags", static_cast<uint32_t>(FrameProc.Flags), in visitKnownRecord()
426 W.printEnum("LocalFramePtrReg", in visitKnownRecord()
429 W.printEnum("ParamFramePtrReg", in visitKnownRecord()
443 W.printHex("Segment", HeapAllocSite.Segment); in visitKnownRecord()
444 W.printHex("CallInstructionSize", HeapAllocSite.CallInstructionSize); in visitKnownRecord()
447 W.printString("LinkageName", LinkageName); in visitKnownRecord()
453 W.printHex("PtrParent", InlineSite.Parent); in visitKnownRecord()
454 W.printHex("PtrEnd", InlineSite.End); in visitKnownRecord()
457 ListScope BinaryAnnotations(W, "BinaryAnnotations"); in visitKnownRecord()
461 W.printString("(Annotation Padding)"); in visitKnownRecord()
466 W.printHex(Annotation.Name, Annotation.U1); in visitKnownRecord()
473 W.printNumber(Annotation.Name, Annotation.U1); in visitKnownRecord()
477 W.printNumber(Annotation.Name, Annotation.S1); in visitKnownRecord()
481 W.printHex("ChangeFile", in visitKnownRecord()
485 W.printHex("ChangeFile", Annotation.U1); in visitKnownRecord()
490 W.startLine() << "ChangeCodeOffsetAndLineOffset: {CodeOffset: " in visitKnownRecord()
491 << W.hex(Annotation.U1) << ", LineOffset: " << Annotation.S1 in visitKnownRecord()
496 W.startLine() << "ChangeCodeLengthAndCodeOffset: {CodeOffset: " in visitKnownRecord()
497 << W.hex(Annotation.U2) in visitKnownRecord()
498 << ", Length: " << W.hex(Annotation.U1) << "}\n"; in visitKnownRecord()
509 W.printEnum("Seg", uint16_t(Register.Register), in visitKnownRecord()
511 W.printString("Name", Register.Name); in visitKnownRecord()
516 W.printFlags("Flags", uint32_t(Public.Flags), getPublicSymFlagNames()); in visitKnownRecord()
517 W.printNumber("Seg", Public.Segment); in visitKnownRecord()
518 W.printNumber("Off", Public.Offset); in visitKnownRecord()
519 W.printString("Name", Public.Name); in visitKnownRecord()
524 W.printNumber("SumName", ProcRef.SumName); in visitKnownRecord()
525 W.printNumber("SymOffset", ProcRef.SymOffset); in visitKnownRecord()
526 W.printNumber("Mod", ProcRef.Module); in visitKnownRecord()
527 W.printString("Name", ProcRef.Name); in visitKnownRecord()
537 W.printHex("Segment", Label.Segment); in visitKnownRecord()
538 W.printHex("Flags", uint8_t(Label.Flags)); in visitKnownRecord()
539 W.printFlags("Flags", uint8_t(Label.Flags), getProcSymFlagNames()); in visitKnownRecord()
540 W.printString("DisplayName", Label.Name); in visitKnownRecord()
542 W.printString("LinkageName", LinkageName); in visitKnownRecord()
548 W.printFlags("Flags", uint16_t(Local.Flags), getLocalFlagNames()); in visitKnownRecord()
549 W.printString("VarName", Local.Name); in visitKnownRecord()
554 W.printHex("Signature", ObjName.Signature); in visitKnownRecord()
555 W.printString("ObjectName", ObjName.Name); in visitKnownRecord()
567 W.printHex("PtrParent", Proc.Parent); in visitKnownRecord()
568 W.printHex("PtrEnd", Proc.End); in visitKnownRecord()
569 W.printHex("PtrNext", Proc.Next); in visitKnownRecord()
570 W.printHex("CodeSize", Proc.CodeSize); in visitKnownRecord()
571 W.printHex("DbgStart", Proc.DbgStart); in visitKnownRecord()
572 W.printHex("DbgEnd", Proc.DbgEnd); in visitKnownRecord()
578 W.printHex("Segment", Proc.Segment); in visitKnownRecord()
579 W.printFlags("Flags", static_cast<uint8_t>(Proc.Flags), in visitKnownRecord()
581 W.printString("DisplayName", Proc.Name); in visitKnownRecord()
583 W.printString("LinkageName", LinkageName); in visitKnownRecord()
594 ListScope S(W, CVR.kind() == S_CALLEES ? "Callees" : "Callers"); in visitKnownRecord()
602 W.printHex("Offset", RegRel.Offset); in visitKnownRecord()
604 W.printEnum("Register", uint16_t(RegRel.Register), in visitKnownRecord()
606 W.printString("VarName", RegRel.Name); in visitKnownRecord()
618 W.printString("DisplayName", Data.Name); in visitKnownRecord()
620 W.printString("LinkageName", LinkageName); in visitKnownRecord()
626 W.printString("UDTName", UDT.Name); in visitKnownRecord()
632 W.printString("Namespace", UN.Name); in visitKnownRecord()
638 W.printHex("Offset", Annot.CodeOffset); in visitKnownRecord()
639 W.printHex("Segment", Annot.Segment); in visitKnownRecord()
641 ListScope S(W, "Strings"); in visitKnownRecord()
643 W.printString(Str); in visitKnownRecord()
649 W.printNumber("Length", CVR.length()); in visitUnknownSymbol()
656 CVSymbolDumperImpl Dumper(Types, ObjDelegate.get(), W, CompilationCPUType, in dump()
670 CVSymbolDumperImpl Dumper(Types, ObjDelegate.get(), W, CompilationCPUType, in dump()