Lines Matching refs:W
32 ScopedPrinter &W, bool PrintRecordBytes) in CVSymbolDumperImpl() argument
34 W(W), PrintRecordBytes(PrintRecordBytes), InFunctionScope(false) {} in CVSymbolDumperImpl()
53 ScopedPrinter &W; member in __anon1e365f630111::CVSymbolDumperImpl
62 DictScope S(W, "LocalVariableAddrRange"); in printLocalVariableAddrRange()
66 W.printHex("ISectStart", Range.ISectStart); in printLocalVariableAddrRange()
67 W.printHex("Range", Range.Range); in printLocalVariableAddrRange()
73 ListScope S(W, "LocalVariableAddrGap"); in printLocalVariableAddrGap()
74 W.printHex("GapStartOffset", Gap.GapStartOffset); in printLocalVariableAddrGap()
75 W.printHex("Range", Gap.Range); in printLocalVariableAddrGap()
89 DictScope S(W, "BlockStart"); in visitBlockSym()
92 W.printHex("PtrParent", Block.Header.PtrParent); in visitBlockSym()
93 W.printHex("PtrEnd", Block.Header.PtrEnd); in visitBlockSym()
94 W.printHex("CodeSize", Block.Header.CodeSize); in visitBlockSym()
99 W.printHex("Segment", Block.Header.Segment); in visitBlockSym()
100 W.printString("BlockName", Block.Name); in visitBlockSym()
101 W.printString("LinkageName", LinkageName); in visitBlockSym()
105 DictScope S(W, "Thunk32"); in visitThunk32Sym()
106 W.printNumber("Parent", Thunk.Header.Parent); in visitThunk32Sym()
107 W.printNumber("End", Thunk.Header.End); in visitThunk32Sym()
108 W.printNumber("Next", Thunk.Header.Next); in visitThunk32Sym()
109 W.printNumber("Off", Thunk.Header.Off); in visitThunk32Sym()
110 W.printNumber("Seg", Thunk.Header.Seg); in visitThunk32Sym()
111 W.printNumber("Len", Thunk.Header.Len); in visitThunk32Sym()
112 W.printEnum("Ordinal", Thunk.Header.Ord, getThunkOrdinalNames()); in visitThunk32Sym()
117 DictScope S(W, "Trampoline"); in visitTrampolineSym()
118 W.printEnum("Type", Tramp.Header.Type, getTrampolineNames()); in visitTrampolineSym()
119 W.printNumber("Size", Tramp.Header.Size); in visitTrampolineSym()
120 W.printNumber("ThunkOff", Tramp.Header.ThunkOff); in visitTrampolineSym()
121 W.printNumber("TargetOff", Tramp.Header.TargetOff); in visitTrampolineSym()
122 W.printNumber("ThunkSection", Tramp.Header.ThunkSection); in visitTrampolineSym()
123 W.printNumber("TargetSection", Tramp.Header.TargetSection); in visitTrampolineSym()
127 DictScope S(W, "Section"); in visitSectionSym()
128 W.printNumber("SectionNumber", Section.Header.SectionNumber); in visitSectionSym()
129 W.printNumber("Alignment", Section.Header.Alignment); in visitSectionSym()
130 W.printNumber("Reserved", Section.Header.Reserved); in visitSectionSym()
131 W.printNumber("Rva", Section.Header.Rva); in visitSectionSym()
132 W.printNumber("Length", Section.Header.Length); in visitSectionSym()
133 W.printFlags("Characteristics", Section.Header.Characteristics, in visitSectionSym()
137 W.printString("Name", Section.Name); in visitSectionSym()
142 DictScope S(W, "COFF Group"); in visitCoffGroupSym()
143 W.printNumber("Size", CoffGroup.Header.Size); in visitCoffGroupSym()
144 W.printFlags("Characteristics", CoffGroup.Header.Characteristics, in visitCoffGroupSym()
147 W.printNumber("Offset", CoffGroup.Header.Offset); in visitCoffGroupSym()
148 W.printNumber("Segment", CoffGroup.Header.Segment); in visitCoffGroupSym()
149 W.printString("Name", CoffGroup.Name); in visitCoffGroupSym()
154 DictScope S(W, "BPRelativeSym"); in visitBPRelativeSym()
156 W.printNumber("Offset", BPRel.Header.Offset); in visitBPRelativeSym()
158 W.printString("VarName", BPRel.Name); in visitBPRelativeSym()
163 DictScope S(W, "BuildInfo"); in visitBuildInfoSym()
165 W.printNumber("BuildId", BuildInfo.Header.BuildId); in visitBuildInfoSym()
170 DictScope S(W, "CallSiteInfo"); in visitCallSiteInfoSym()
178 W.printHex("Segment", CallSiteInfo.Header.Segment); in visitCallSiteInfoSym()
179 W.printHex("Reserved", CallSiteInfo.Header.Reserved); in visitCallSiteInfoSym()
182 W.printString("LinkageName", LinkageName); in visitCallSiteInfoSym()
187 DictScope S(W, "EnvBlock"); in visitEnvBlockSym()
189 W.printNumber("Reserved", EnvBlock.Header.Reserved); in visitEnvBlockSym()
190 ListScope L(W, "Entries"); in visitEnvBlockSym()
192 W.printString(Entry); in visitEnvBlockSym()
198 DictScope S(W, "FileStatic"); in visitFileStaticSym()
199 W.printNumber("Index", FileStatic.Header.Index); in visitFileStaticSym()
200 W.printNumber("ModFilenameOffset", FileStatic.Header.ModFilenameOffset); in visitFileStaticSym()
201 W.printFlags("Flags", uint16_t(FileStatic.Header.Flags), getLocalFlagNames()); in visitFileStaticSym()
202 W.printString("Name", FileStatic.Name); in visitFileStaticSym()
206 DictScope S(W, "Export"); in visitExportSym()
207 W.printNumber("Ordinal", Export.Header.Ordinal); in visitExportSym()
208 W.printFlags("Flags", Export.Header.Flags, getExportSymFlagNames()); in visitExportSym()
209 W.printString("Name", Export.Name); in visitExportSym()
214 DictScope S(W, "CompilerFlags2"); in visitCompile2Sym()
216 W.printEnum("Language", Compile2.Header.getLanguage(), in visitCompile2Sym()
218 W.printFlags("Flags", Compile2.Header.flags & ~0xff, in visitCompile2Sym()
220 W.printEnum("Machine", unsigned(Compile2.Header.Machine), getCPUTypeNames()); in visitCompile2Sym()
235 W.printString("FrontendVersion", FrontendVersion); in visitCompile2Sym()
236 W.printString("BackendVersion", BackendVersion); in visitCompile2Sym()
237 W.printString("VersionName", Compile2.Version); in visitCompile2Sym()
242 DictScope S(W, "CompilerFlags3"); in visitCompile3Sym()
244 W.printEnum("Language", Compile3.Header.getLanguage(), in visitCompile3Sym()
246 W.printFlags("Flags", Compile3.Header.flags & ~0xff, in visitCompile3Sym()
248 W.printEnum("Machine", unsigned(Compile3.Header.Machine), getCPUTypeNames()); in visitCompile3Sym()
265 W.printString("FrontendVersion", FrontendVersion); in visitCompile3Sym()
266 W.printString("BackendVersion", BackendVersion); in visitCompile3Sym()
267 W.printString("VersionName", Compile3.Version); in visitCompile3Sym()
272 DictScope S(W, "Constant"); in visitConstantSym()
275 W.printNumber("Value", Constant.Value); in visitConstantSym()
276 W.printString("Name", Constant.Name); in visitConstantSym()
280 DictScope S(W, "DataSym"); in visitDataSym()
282 W.printEnum("Kind", uint16_t(Kind), getSymbolTypeNames()); in visitDataSym()
289 W.printString("DisplayName", Data.Name); in visitDataSym()
291 W.printString("LinkageName", LinkageName); in visitDataSym()
297 DictScope S(W, "DefRangeFramePointerRelFullScope"); in visitDefRangeFramePointerRelFullScopeSym()
298 W.printNumber("Offset", DefRangeFramePointerRelFullScope.Header.Offset); in visitDefRangeFramePointerRelFullScopeSym()
303 DictScope S(W, "DefRangeFramePointerRel"); in visitDefRangeFramePointerRelSym()
305 W.printNumber("Offset", DefRangeFramePointerRel.Header.Offset); in visitDefRangeFramePointerRelSym()
313 DictScope S(W, "DefRangeRegisterRel"); in visitDefRangeRegisterRelSym()
315 W.printNumber("BaseRegister", DefRangeRegisterRel.Header.BaseRegister); in visitDefRangeRegisterRelSym()
316 W.printBoolean("HasSpilledUDTMember", in visitDefRangeRegisterRelSym()
318 W.printNumber("OffsetInParent", DefRangeRegisterRel.offsetInParent()); in visitDefRangeRegisterRelSym()
319 W.printNumber("BasePointerOffset", in visitDefRangeRegisterRelSym()
328 DictScope S(W, "DefRangeRegister"); in visitDefRangeRegisterSym()
330 W.printNumber("Register", DefRangeRegister.Header.Register); in visitDefRangeRegisterSym()
331 W.printNumber("MayHaveNoName", DefRangeRegister.Header.MayHaveNoName); in visitDefRangeRegisterSym()
339 DictScope S(W, "DefRangeSubfieldRegister"); in visitDefRangeSubfieldRegisterSym()
341 W.printNumber("Register", DefRangeSubfieldRegister.Header.Register); in visitDefRangeSubfieldRegisterSym()
342 W.printNumber("MayHaveNoName", DefRangeSubfieldRegister.Header.MayHaveNoName); in visitDefRangeSubfieldRegisterSym()
343 W.printNumber("OffsetInParent", in visitDefRangeSubfieldRegisterSym()
352 DictScope S(W, "DefRangeSubfield"); in visitDefRangeSubfieldSym()
361 W.printString("Program", Program); in visitDefRangeSubfieldSym()
363 W.printNumber("OffsetInParent", DefRangeSubfield.Header.OffsetInParent); in visitDefRangeSubfieldSym()
371 DictScope S(W, "DefRange"); in visitDefRangeSym()
380 W.printString("Program", Program); in visitDefRangeSym()
389 DictScope S(W, "FrameCookie"); in visitFrameCookieSym()
397 W.printHex("Register", FrameCookie.Header.Register); in visitFrameCookieSym()
398 W.printEnum("CookieKind", uint16_t(FrameCookie.Header.CookieKind), in visitFrameCookieSym()
400 W.printHex("Flags", FrameCookie.Header.Flags); in visitFrameCookieSym()
405 DictScope S(W, "FrameProc"); in visitFrameProcSym()
407 W.printHex("TotalFrameBytes", FrameProc.Header.TotalFrameBytes); in visitFrameProcSym()
408 W.printHex("PaddingFrameBytes", FrameProc.Header.PaddingFrameBytes); in visitFrameProcSym()
409 W.printHex("OffsetToPadding", FrameProc.Header.OffsetToPadding); in visitFrameProcSym()
410 W.printHex("BytesOfCalleeSavedRegisters", in visitFrameProcSym()
412 W.printHex("OffsetOfExceptionHandler", in visitFrameProcSym()
414 W.printHex("SectionIdOfExceptionHandler", in visitFrameProcSym()
416 W.printFlags("Flags", FrameProc.Header.Flags, getFrameProcSymFlagNames()); in visitFrameProcSym()
421 DictScope S(W, "HeapAllocationSite"); in visitHeapAllocationSiteSym()
429 W.printHex("Segment", HeapAllocSite.Header.Segment); in visitHeapAllocationSiteSym()
430 W.printHex("CallInstructionSize", HeapAllocSite.Header.CallInstructionSize); in visitHeapAllocationSiteSym()
433 W.printString("LinkageName", LinkageName); in visitHeapAllocationSiteSym()
438 DictScope S(W, "InlineSite"); in visitInlineSiteSym()
440 W.printHex("PtrParent", InlineSite.Header.PtrParent); in visitInlineSiteSym()
441 W.printHex("PtrEnd", InlineSite.Header.PtrEnd); in visitInlineSiteSym()
444 ListScope BinaryAnnotations(W, "BinaryAnnotations"); in visitInlineSiteSym()
452 W.printHex(Annotation.Name, Annotation.U1); in visitInlineSiteSym()
459 W.printNumber(Annotation.Name, Annotation.U1); in visitInlineSiteSym()
463 W.printNumber(Annotation.Name, Annotation.S1); in visitInlineSiteSym()
467 W.printHex("ChangeFile", in visitInlineSiteSym()
471 W.printHex("ChangeFile", Annotation.U1); in visitInlineSiteSym()
476 W.startLine() << "ChangeCodeOffsetAndLineOffset: {CodeOffset: " in visitInlineSiteSym()
477 << W.hex(Annotation.U1) << ", LineOffset: " << Annotation.S1 in visitInlineSiteSym()
482 W.startLine() << "ChangeCodeLengthAndCodeOffset: {CodeOffset: " in visitInlineSiteSym()
483 << W.hex(Annotation.U2) in visitInlineSiteSym()
484 << ", Length: " << W.hex(Annotation.U1) << "}\n"; in visitInlineSiteSym()
493 DictScope S(W, "RegisterSym"); in visitRegisterSym()
494 W.printNumber("Type", Register.Header.Index); in visitRegisterSym()
495 W.printEnum("Seg", uint16_t(Register.Header.Register), getRegisterNames()); in visitRegisterSym()
496 W.printString("Name", Register.Name); in visitRegisterSym()
501 DictScope S(W, "PublicSym"); in visitPublicSym32()
502 W.printNumber("Type", Public.Header.Index); in visitPublicSym32()
503 W.printNumber("Seg", Public.Header.Seg); in visitPublicSym32()
504 W.printNumber("Off", Public.Header.Off); in visitPublicSym32()
505 W.printString("Name", Public.Name); in visitPublicSym32()
509 DictScope S(W, "ProcRef"); in visitProcRefSym()
510 W.printNumber("SumName", ProcRef.Header.SumName); in visitProcRefSym()
511 W.printNumber("SymOffset", ProcRef.Header.SymOffset); in visitProcRefSym()
512 W.printNumber("Mod", ProcRef.Header.Mod); in visitProcRefSym()
513 W.printString("Name", ProcRef.Name); in visitProcRefSym()
517 DictScope S(W, "Label"); in visitLabelSym()
524 W.printHex("Segment", Label.Header.Segment); in visitLabelSym()
525 W.printHex("Flags", Label.Header.Flags); in visitLabelSym()
526 W.printFlags("Flags", Label.Header.Flags, getProcSymFlagNames()); in visitLabelSym()
527 W.printString("DisplayName", Label.Name); in visitLabelSym()
529 W.printString("LinkageName", LinkageName); in visitLabelSym()
533 DictScope S(W, "Local"); in visitLocalSym()
536 W.printFlags("Flags", uint16_t(Local.Header.Flags), getLocalFlagNames()); in visitLocalSym()
537 W.printString("VarName", Local.Name); in visitLocalSym()
541 DictScope S(W, "ObjectName"); in visitObjNameSym()
543 W.printHex("Signature", ObjName.Header.Signature); in visitObjNameSym()
544 W.printString("ObjectName", ObjName.Name); in visitObjNameSym()
548 DictScope S(W, "ProcStart"); in visitProcSym()
556 W.printEnum("Kind", uint16_t(Kind), getSymbolTypeNames()); in visitProcSym()
557 W.printHex("PtrParent", Proc.Header.PtrParent); in visitProcSym()
558 W.printHex("PtrEnd", Proc.Header.PtrEnd); in visitProcSym()
559 W.printHex("PtrNext", Proc.Header.PtrNext); in visitProcSym()
560 W.printHex("CodeSize", Proc.Header.CodeSize); in visitProcSym()
561 W.printHex("DbgStart", Proc.Header.DbgStart); in visitProcSym()
562 W.printHex("DbgEnd", Proc.Header.DbgEnd); in visitProcSym()
568 W.printHex("Segment", Proc.Header.Segment); in visitProcSym()
569 W.printFlags("Flags", static_cast<uint8_t>(Proc.Header.Flags), in visitProcSym()
571 W.printString("DisplayName", Proc.Name); in visitProcSym()
573 W.printString("LinkageName", LinkageName); in visitProcSym()
579 DictScope S(W, "BlockEnd"); in visitScopeEndSym()
581 DictScope S(W, "ProcEnd"); in visitScopeEndSym()
583 DictScope S(W, "InlineSiteEnd"); in visitScopeEndSym()
589 ListScope S(W, Kind == S_CALLEES ? "Callees" : "Callers"); in visitCallerSym()
596 DictScope S(W, "RegRelativeSym"); in visitRegRelativeSym()
598 W.printHex("Offset", RegRel.Header.Offset); in visitRegRelativeSym()
600 W.printHex("Register", RegRel.Header.Register); in visitRegRelativeSym()
601 W.printString("VarName", RegRel.Name); in visitRegRelativeSym()
606 DictScope S(W, "ThreadLocalDataSym"); in visitThreadLocalDataSym()
614 W.printString("DisplayName", Data.Name); in visitThreadLocalDataSym()
616 W.printString("LinkageName", LinkageName); in visitThreadLocalDataSym()
620 DictScope S(W, "UDT"); in visitUDTSym()
622 W.printString("UDTName", UDT.Name); in visitUDTSym()
627 DictScope S(W, "UnknownSym"); in visitUnknownSymbol()
628 W.printEnum("Kind", uint16_t(Kind), getSymbolTypeNames()); in visitUnknownSymbol()
629 W.printNumber("Length", uint32_t(Data.size())); in visitUnknownSymbol()
633 CVSymbolDumperImpl Dumper(CVTD, ObjDelegate.get(), W, PrintRecordBytes); in dump()
639 CVSymbolDumperImpl Dumper(CVTD, ObjDelegate.get(), W, PrintRecordBytes); in dump()