LLVM  6.0.0svn
SymbolVisitorDelegate.h
Go to the documentation of this file.
1 //===-- SymbolVisitorDelegate.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_SYMBOLVISITORDELEGATE_H
11 #define LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORDELEGATE_H
12 
13 #include "llvm/ADT/StringRef.h"
14 #include <cstdint>
15 
16 namespace llvm {
17 
18 class BinaryStreamReader;
19 
20 namespace codeview {
21 
22 class DebugStringTableSubsectionRef;
23 
25 public:
26  virtual ~SymbolVisitorDelegate() = default;
27 
28  virtual uint32_t getRecordOffset(BinaryStreamReader Reader) = 0;
29  virtual StringRef getFileNameForFileOffset(uint32_t FileOffset) = 0;
31 };
32 
33 } // end namespace codeview
34 
35 } // end namespace llvm
36 
37 #endif // LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORDELEGATE_H
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
virtual uint32_t getRecordOffset(BinaryStreamReader Reader)=0
virtual StringRef getFileNameForFileOffset(uint32_t FileOffset)=0
Represents a read-only view of a CodeView string table.
virtual DebugStringTableSubsectionRef getStringTable()=0
Provides read only access to a subclass of BinaryStream.
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:49