Back to home page

EIC code displayed by LXR

 
 

    


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

0001 //===-- SymbolVisitorDelegate.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_SYMBOLVISITORDELEGATE_H
0010 #define LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORDELEGATE_H
0011 
0012 #include "llvm/ADT/StringRef.h"
0013 #include <cstdint>
0014 
0015 namespace llvm {
0016 
0017 class BinaryStreamReader;
0018 
0019 namespace codeview {
0020 
0021 class DebugStringTableSubsectionRef;
0022 
0023 class SymbolVisitorDelegate {
0024 public:
0025   virtual ~SymbolVisitorDelegate() = default;
0026 
0027   virtual uint32_t getRecordOffset(BinaryStreamReader Reader) = 0;
0028   virtual StringRef getFileNameForFileOffset(uint32_t FileOffset) = 0;
0029   virtual DebugStringTableSubsectionRef getStringTable() = 0;
0030 };
0031 
0032 } // end namespace codeview
0033 
0034 } // end namespace llvm
0035 
0036 #endif // LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORDELEGATE_H