Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:40

0001 //===-- SymbolDumpDelegate.h ------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_DEBUGINFO_CODEVIEW_SYMBOLDUMPDELEGATE_H
0010 #define LLVM_DEBUGINFO_CODEVIEW_SYMBOLDUMPDELEGATE_H
0011 
0012 #include "llvm/ADT/ArrayRef.h"
0013 #include "llvm/ADT/StringRef.h"
0014 #include "llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h"
0015 #include <cstdint>
0016 
0017 namespace llvm {
0018 namespace codeview {
0019 
0020 class SymbolDumpDelegate : public SymbolVisitorDelegate {
0021 public:
0022   ~SymbolDumpDelegate() override = default;
0023 
0024   virtual void printRelocatedField(StringRef Label, uint32_t RelocOffset,
0025                                    uint32_t Offset,
0026                                    StringRef *RelocSym = nullptr) = 0;
0027   virtual void printBinaryBlockWithRelocs(StringRef Label,
0028                                           ArrayRef<uint8_t> Block) = 0;
0029 };
0030 
0031 } // end namespace codeview
0032 } // end namespace llvm
0033 
0034 #endif // LLVM_DEBUGINFO_CODEVIEW_SYMBOLDUMPDELEGATE_H