Coverage Report

Created: 2018-11-12 17:33

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h
Line
Count
Source (jump to first uncovered line)
1
//===- SymbolVisitorCallbacks.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_CODEVIEW_SYMBOLVISITORCALLBACKS_H
11
#define LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORCALLBACKS_H
12
13
#include "llvm/DebugInfo/CodeView/SymbolRecord.h"
14
#include "llvm/Support/Error.h"
15
16
namespace llvm {
17
namespace codeview {
18
19
class SymbolVisitorCallbacks {
20
  friend class CVSymbolVisitor;
21
22
public:
23
7.40k
  virtual ~SymbolVisitorCallbacks() = default;
24
25
  /// Action to take on unknown symbols. By default, they are ignored.
26
0
  virtual Error visitUnknownSymbol(CVSymbol &Record) {
27
0
    return Error::success();
28
0
  }
29
30
  /// Paired begin/end actions for all symbols. Receives all record data,
31
  /// including the fixed-length record prefix.  visitSymbolBegin() should
32
  /// return the type of the Symbol, or an error if it cannot be determined.
33
0
  virtual Error visitSymbolBegin(CVSymbol &Record, uint32_t Offset) {
34
0
    return Error::success();
35
0
  }
36
0
  virtual Error visitSymbolBegin(CVSymbol &Record) { return Error::success(); }
37
0
  virtual Error visitSymbolEnd(CVSymbol &Record) { return Error::success(); }
38
39
#define SYMBOL_RECORD(EnumName, EnumVal, Name)                                 \
40
0
  virtual Error visitKnownRecord(CVSymbol &CVR, Name &Record) {                \
41
0
    return Error::success();                                                   \
42
0
  }
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::ScopeEndSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::Thunk32Sym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::TrampolineSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::SectionSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::CoffGroupSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::ExportSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::ProcSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::RegisterSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::PublicSym32&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::ProcRefSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::EnvBlockSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::InlineSiteSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::LocalSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::DefRangeSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::DefRangeSubfieldSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::DefRangeRegisterSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::DefRangeFramePointerRelSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::DefRangeSubfieldRegisterSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::DefRangeFramePointerRelFullScopeSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::DefRangeRegisterRelSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::BlockSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::LabelSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::ObjNameSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::Compile2Sym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::Compile3Sym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::FrameProcSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::CallSiteInfoSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::FileStaticSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::HeapAllocationSiteSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::FrameCookieSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::CallerSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::UDTSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::BuildInfoSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::BPRelativeSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::RegRelativeSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::ConstantSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::DataSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::ThreadLocalDataSym&)
Unexecuted instantiation: llvm::codeview::SymbolVisitorCallbacks::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::UsingNamespaceSym&)
43
#define SYMBOL_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName)
44
#include "llvm/DebugInfo/CodeView/CodeViewSymbols.def"
45
};
46
47
} // end namespace codeview
48
} // end namespace llvm
49
50
#endif // LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORCALLBACKS_H