LCOV - code coverage report
Current view: top level - include/llvm/DebugInfo/PDB/Native - PDBTypeServerHandler.h (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 1 1 100.0 %
Date: 2017-07-17 15:02:49 Functions: 1 2 50.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===- PDBTypeServerHandler.h -----------------------------------*- C++ -*-===//
       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             : #ifndef LLVM_DEBUGINFO_PDB_PDBTYPESERVERHANDLER_H
      11             : #define LLVM_DEBUGINFO_PDB_PDBTYPESERVERHANDLER_H
      12             : 
      13             : #include "llvm/ADT/SmallString.h"
      14             : #include "llvm/ADT/StringSet.h"
      15             : #include "llvm/DebugInfo/CodeView/TypeRecord.h"
      16             : #include "llvm/DebugInfo/CodeView/TypeServerHandler.h"
      17             : #include "llvm/DebugInfo/PDB/Native/NativeSession.h"
      18             : #include "llvm/DebugInfo/PDB/PDBTypes.h"
      19             : 
      20             : #include <memory>
      21             : #include <string>
      22             : 
      23             : namespace llvm {
      24             : namespace pdb {
      25             : class NativeSession;
      26             : 
      27          96 : class PDBTypeServerHandler : public codeview::TypeServerHandler {
      28             : public:
      29             :   PDBTypeServerHandler(bool RevisitAlways = false);
      30             : 
      31             :   void addSearchPath(StringRef Path);
      32             :   Expected<bool> handle(codeview::TypeServer2Record &TS,
      33             :                         codeview::TypeVisitorCallbacks &Callbacks) override;
      34             : 
      35             : private:
      36             :   Expected<bool> handleInternal(PDBFile &File,
      37             :                                 codeview::TypeVisitorCallbacks &Callbacks);
      38             : 
      39             :   bool RevisitAlways;
      40             :   std::unique_ptr<NativeSession> Session;
      41             :   StringSet<> SearchPaths;
      42             : };
      43             : }
      44             : }
      45             : 
      46             : #endif

Generated by: LCOV version 1.13