LLVM  14.0.0git
SymbolDumpDelegate.h
Go to the documentation of this file.
1 //===-- SymbolDumpDelegate.h ------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_DEBUGINFO_CODEVIEW_SYMBOLDUMPDELEGATE_H
10 #define LLVM_DEBUGINFO_CODEVIEW_SYMBOLDUMPDELEGATE_H
11 
12 #include "llvm/ADT/ArrayRef.h"
13 #include "llvm/ADT/StringRef.h"
15 #include <cstdint>
16 
17 namespace llvm {
18 namespace codeview {
19 
21 public:
22  ~SymbolDumpDelegate() override = default;
23 
24  virtual void printRelocatedField(StringRef Label, uint32_t RelocOffset,
26  StringRef *RelocSym = nullptr) = 0;
27  virtual void printBinaryBlockWithRelocs(StringRef Label,
28  ArrayRef<uint8_t> Block) = 0;
29 };
30 
31 } // end namespace codeview
32 } // end namespace llvm
33 
34 #endif // LLVM_DEBUGINFO_CODEVIEW_SYMBOLDUMPDELEGATE_H
SymbolVisitorDelegate.h
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::codeview::SymbolDumpDelegate::printRelocatedField
virtual void printRelocatedField(StringRef Label, uint32_t RelocOffset, uint32_t Offset, StringRef *RelocSym=nullptr)=0
llvm::codeview::SymbolVisitorDelegate
Definition: SymbolVisitorDelegate.h:23
StringRef.h
llvm::codeview::SymbolDumpDelegate::~SymbolDumpDelegate
~SymbolDumpDelegate() override=default
Offset
uint64_t Offset
Definition: ELFObjHandler.cpp:81
ArrayRef.h
llvm::ArrayRef< uint8_t >
llvm::codeview::SymbolDumpDelegate::printBinaryBlockWithRelocs
virtual void printBinaryBlockWithRelocs(StringRef Label, ArrayRef< uint8_t > Block)=0
llvm::StringRef
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:58
uint32_t
llvm::codeview::SymbolDumpDelegate
Definition: SymbolDumpDelegate.h:20