LLVM  6.0.0svn
SymbolDumpDelegate.h
Go to the documentation of this file.
1 //===-- SymbolDumpDelegate.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_SYMBOLDUMPDELEGATE_H
11 #define LLVM_DEBUGINFO_CODEVIEW_SYMBOLDUMPDELEGATE_H
12 
13 #include "llvm/ADT/ArrayRef.h"
14 #include "llvm/ADT/StringRef.h"
16 #include <cstdint>
17 
18 namespace llvm {
19 namespace codeview {
20 
22 public:
23  ~SymbolDumpDelegate() override = default;
24 
25  virtual void printRelocatedField(StringRef Label, uint32_t RelocOffset,
27  StringRef *RelocSym = nullptr) = 0;
28  virtual void printBinaryBlockWithRelocs(StringRef Label,
29  ArrayRef<uint8_t> Block) = 0;
30 };
31 
32 } // end namespace codeview
33 } // end namespace llvm
34 
35 #endif // LLVM_DEBUGINFO_CODEVIEW_SYMBOLDUMPDELEGATE_H
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
virtual void printBinaryBlockWithRelocs(StringRef Label, ArrayRef< uint8_t > Block)=0
~SymbolDumpDelegate() override=default
virtual void printRelocatedField(StringRef Label, uint32_t RelocOffset, uint32_t Offset, StringRef *RelocSym=nullptr)=0
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:49