LCOV - code coverage report
Current view: top level - lib/DebugInfo/PDB - PDBExtras.cpp (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 0 228 0.0 %
Date: 2018-02-19 03:08:00 Functions: 0 15 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===- PDBExtras.cpp - helper functions and classes for PDBs --------------===//
       2             : //
       3             : //                     The LLVM Compiler Infrastructure
       4             : //
       5             : // This file is distributed under the University of Illinois Open Source
       6             : // License. See LICENSE.TXT for details.
       7             : //
       8             : //===----------------------------------------------------------------------===//
       9             : 
      10             : #include "llvm/DebugInfo/PDB/PDBExtras.h"
      11             : #include "llvm/ADT/ArrayRef.h"
      12             : #include "llvm/Support/raw_ostream.h"
      13             : 
      14             : using namespace llvm;
      15             : using namespace llvm::pdb;
      16             : 
      17             : #define CASE_OUTPUT_ENUM_CLASS_STR(Class, Value, Str, Stream)                  \
      18             :   case Class::Value:                                                           \
      19             :     Stream << Str;                                                             \
      20             :     break;
      21             : 
      22             : #define CASE_OUTPUT_ENUM_CLASS_NAME(Class, Value, Stream)                      \
      23             :   CASE_OUTPUT_ENUM_CLASS_STR(Class, Value, #Value, Stream)
      24             : 
      25           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS,
      26             :                                    const PDB_VariantType &Type) {
      27           0 :   switch (Type) {
      28           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS)
      29           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Single, OS)
      30           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Double, OS)
      31           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int8, OS)
      32           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int16, OS)
      33           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int32, OS)
      34           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int64, OS)
      35           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt8, OS)
      36           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt16, OS)
      37           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt32, OS)
      38           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt64, OS)
      39           0 :     default:
      40           0 :       OS << "Unknown";
      41             :   }
      42           0 :   return OS;
      43             : }
      44             : 
      45           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS,
      46             :                                    const PDB_CallingConv &Conv) {
      47           0 :   OS << "__";
      48           0 :   switch (Conv) {
      49           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, NearC      , "cdecl", OS)
      50           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, FarC       , "cdecl", OS)
      51           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, NearPascal , "pascal", OS)
      52           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, FarPascal  , "pascal", OS)
      53           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, NearFast   , "fastcall", OS)
      54           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, FarFast    , "fastcall", OS)
      55           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, NearStdCall, "stdcall", OS)
      56           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, FarStdCall , "stdcall", OS)
      57           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, NearSysCall, "syscall", OS)
      58           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, FarSysCall , "syscall", OS)
      59           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, ThisCall   , "thiscall", OS)
      60           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, MipsCall   , "mipscall", OS)
      61           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, Generic    , "genericcall", OS)
      62           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, AlphaCall  , "alphacall", OS)
      63           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, PpcCall    , "ppccall", OS)
      64           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, SHCall     , "superhcall", OS)
      65           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, ArmCall    , "armcall", OS)
      66           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, AM33Call   , "am33call", OS)
      67           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, TriCall    , "tricall", OS)
      68           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, SH5Call    , "sh5call", OS)
      69           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, M32RCall   , "m32rcall", OS)
      70           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, ClrCall    , "clrcall", OS)
      71           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, Inline     , "inlinecall", OS)
      72           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, NearVector , "vectorcall", OS)
      73             :   }
      74           0 :   return OS;
      75             : }
      76             : 
      77           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_DataKind &Data) {
      78           0 :   switch (Data) {
      79           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, Unknown, "unknown", OS)
      80           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, Local, "local", OS)
      81           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, StaticLocal, "static local", OS)
      82           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, Param, "param", OS)
      83           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, ObjectPtr, "this ptr", OS)
      84           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, FileStatic, "static global", OS)
      85           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, Global, "global", OS)
      86           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, Member, "member", OS)
      87           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, StaticMember, "static member", OS)
      88           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, Constant, "const", OS)
      89             :   }
      90           0 :   return OS;
      91             : }
      92             : 
      93           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS,
      94             :                                    const codeview::RegisterId &Reg) {
      95           0 :   switch (Reg) {
      96             : #define CV_REGISTER(name, val) case codeview::RegisterId::name: OS << #name; return OS;
      97             : #include "llvm/DebugInfo/CodeView/CodeViewRegisters.def"
      98             : #undef CV_REGISTER
      99             :   }
     100             :   OS << static_cast<int>(Reg);
     101           0 :   return OS;
     102             : }
     103             : 
     104           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_LocType &Loc) {
     105           0 :   switch (Loc) {
     106           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, Static, "static", OS)
     107           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, TLS, "tls", OS)
     108           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, RegRel, "regrel", OS)
     109           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, ThisRel, "thisrel", OS)
     110           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, Enregistered, "register", OS)
     111           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, BitField, "bitfield", OS)
     112           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, Slot, "slot", OS)
     113           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, IlRel, "IL rel", OS)
     114           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, MetaData, "metadata", OS)
     115           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, Constant, "constant", OS)
     116           0 :   default:
     117           0 :     OS << "Unknown";
     118             :   }
     119           0 :   return OS;
     120             : }
     121             : 
     122           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS,
     123             :                                    const codeview::ThunkOrdinal &Thunk) {
     124           0 :   switch (Thunk) {
     125           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, BranchIsland, OS)
     126           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, Pcode, OS)
     127           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, Standard, OS)
     128           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, ThisAdjustor, OS)
     129           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, TrampIncremental, OS)
     130           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, UnknownLoad, OS)
     131           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, Vcall, OS)
     132             :   }
     133           0 :   return OS;
     134             : }
     135             : 
     136           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS,
     137             :                                    const PDB_Checksum &Checksum) {
     138           0 :   switch (Checksum) {
     139           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Checksum, None, OS)
     140           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Checksum, MD5, OS)
     141           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Checksum, SHA1, OS)
     142             :   }
     143           0 :   return OS;
     144             : }
     145             : 
     146           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_Lang &Lang) {
     147           0 :   switch (Lang) {
     148           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, C, OS)
     149           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_Lang, Cpp, "C++", OS)
     150           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Fortran, OS)
     151           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Masm, OS)
     152           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Pascal, OS)
     153           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Basic, OS)
     154           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Cobol, OS)
     155           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Link, OS)
     156           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Cvtres, OS)
     157           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Cvtpgd, OS)
     158           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, CSharp, OS)
     159           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, VB, OS)
     160           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, ILAsm, OS)
     161           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Java, OS)
     162           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, JScript, OS)
     163           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, MSIL, OS)
     164           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, HLSL, OS)
     165           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, D, OS)
     166             :   }
     167           0 :   return OS;
     168             : }
     169             : 
     170           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_SymType &Tag) {
     171           0 :   switch (Tag) {
     172           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Exe, OS)
     173           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Compiland, OS)
     174           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CompilandDetails, OS)
     175           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CompilandEnv, OS)
     176           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Function, OS)
     177           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Block, OS)
     178           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Data, OS)
     179           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Annotation, OS)
     180           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Label, OS)
     181           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, PublicSymbol, OS)
     182           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, UDT, OS)
     183           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Enum, OS)
     184           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, FunctionSig, OS)
     185           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, PointerType, OS)
     186           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, ArrayType, OS)
     187           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, BuiltinType, OS)
     188           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Typedef, OS)
     189           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, BaseClass, OS)
     190           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Friend, OS)
     191           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, FunctionArg, OS)
     192           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, FuncDebugStart, OS)
     193           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, FuncDebugEnd, OS)
     194           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, UsingNamespace, OS)
     195           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, VTableShape, OS)
     196           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, VTable, OS)
     197           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Custom, OS)
     198           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Thunk, OS)
     199           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CustomType, OS)
     200           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, ManagedType, OS)
     201           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Dimension, OS)
     202           0 :   default:
     203           0 :     OS << "Unknown";
     204             :   }
     205           0 :   return OS;
     206             : }
     207             : 
     208           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS,
     209             :                                    const PDB_MemberAccess &Access) {
     210           0 :   switch (Access) {
     211           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_MemberAccess, Public, "public", OS)
     212           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_MemberAccess, Protected, "protected", OS)
     213           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_MemberAccess, Private, "private", OS)
     214             :   }
     215           0 :   return OS;
     216             : }
     217             : 
     218           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_UdtType &Type) {
     219           0 :   switch (Type) {
     220           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_UdtType, Class, "class", OS)
     221           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_UdtType, Struct, "struct", OS)
     222           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_UdtType, Interface, "interface", OS)
     223           0 :     CASE_OUTPUT_ENUM_CLASS_STR(PDB_UdtType, Union, "union", OS)
     224             :   }
     225           0 :   return OS;
     226             : }
     227             : 
     228           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS,
     229             :                                    const PDB_Machine &Machine) {
     230           0 :   switch (Machine) {
     231           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Am33, OS)
     232           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Amd64, OS)
     233           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Arm, OS)
     234           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, ArmNT, OS)
     235           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Ebc, OS)
     236           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, x86, OS)
     237           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Ia64, OS)
     238           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, M32R, OS)
     239           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Mips16, OS)
     240           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, MipsFpu, OS)
     241           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, MipsFpu16, OS)
     242           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, PowerPC, OS)
     243           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, PowerPCFP, OS)
     244           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, R4000, OS)
     245           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, SH3, OS)
     246           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, SH3DSP, OS)
     247           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, SH4, OS)
     248           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, SH5, OS)
     249           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Thumb, OS)
     250           0 :     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, WceMipsV2, OS)
     251           0 :   default:
     252           0 :     OS << "Unknown";
     253             :   }
     254           0 :   return OS;
     255             : }
     256             : 
     257           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const Variant &Value) {
     258           0 :   switch (Value.Type) {
     259           0 :     case PDB_VariantType::Bool:
     260           0 :       OS << (Value.Value.Bool ? "true" : "false");
     261           0 :       break;
     262           0 :     case PDB_VariantType::Double:
     263           0 :       OS << Value.Value.Double;
     264           0 :       break;
     265           0 :     case PDB_VariantType::Int16:
     266           0 :       OS << Value.Value.Int16;
     267             :       break;
     268           0 :     case PDB_VariantType::Int32:
     269           0 :       OS << Value.Value.Int32;
     270             :       break;
     271           0 :     case PDB_VariantType::Int64:
     272           0 :       OS << Value.Value.Int64;
     273           0 :       break;
     274           0 :     case PDB_VariantType::Int8:
     275           0 :       OS << static_cast<int>(Value.Value.Int8);
     276             :       break;
     277           0 :     case PDB_VariantType::Single:
     278           0 :       OS << Value.Value.Single;
     279           0 :       break;
     280           0 :     case PDB_VariantType::UInt16:
     281           0 :       OS << Value.Value.Double;
     282           0 :       break;
     283           0 :     case PDB_VariantType::UInt32:
     284           0 :       OS << Value.Value.UInt32;
     285             :       break;
     286           0 :     case PDB_VariantType::UInt64:
     287           0 :       OS << Value.Value.UInt64;
     288           0 :       break;
     289           0 :     case PDB_VariantType::UInt8:
     290           0 :       OS << static_cast<unsigned>(Value.Value.UInt8);
     291             :       break;
     292           0 :     case PDB_VariantType::String:
     293           0 :       OS << Value.Value.String;
     294           0 :       break;
     295           0 :     default:
     296           0 :       OS << Value.Type;
     297             :   }
     298           0 :   return OS;
     299             : }
     300             : 
     301           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS,
     302             :                                    const VersionInfo &Version) {
     303           0 :   OS << Version.Major << "." << Version.Minor << "." << Version.Build;
     304           0 :   return OS;
     305             : }
     306             : 
     307           0 : raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const TagStats &Stats) {
     308           0 :   for (auto Tag : Stats) {
     309           0 :     OS << Tag.first << ":" << Tag.second << " ";
     310             :   }
     311           0 :   return OS;
     312             : }

Generated by: LCOV version 1.13