Error CVSymbolDumperImpl::visitKnownRecord(CVSymbol &CVR, BlockSym &Block) { StringRef LinkageName; W.printHex("PtrParent", Block.Parent); W.printHex("PtrEnd", Block.End); W.printHex("CodeSize", Block.CodeSize); if (ObjDelegate) { ObjDelegate->printRelocatedField("CodeOffset", Block.getRelocationOffset(), Block.CodeOffset, &LinkageName); } W.printHex("Segment", Block.Segment); W.printString("BlockName", Block.Name); W.printString("LinkageName", LinkageName); return Error::success(); }
void CVSymbolDumperImpl::visitBlockSym(SymbolKind Kind, BlockSym &Block) { DictScope S(W, "BlockStart"); StringRef LinkageName; W.printHex("PtrParent", Block.Header.PtrParent); W.printHex("PtrEnd", Block.Header.PtrEnd); W.printHex("CodeSize", Block.Header.CodeSize); if (ObjDelegate) { ObjDelegate->printRelocatedField("CodeOffset", Block.getRelocationOffset(), Block.Header.CodeOffset, &LinkageName); } W.printHex("Segment", Block.Header.Segment); W.printString("BlockName", Block.Name); W.printString("LinkageName", LinkageName); }