1 //===-- SymbolVisitorDelegate.h ---------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORDELEGATE_H
10 #define LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORDELEGATE_H
12 #include "llvm/ADT/StringRef.h"
17 class BinaryStreamReader
;
21 class DebugStringTableSubsectionRef
;
23 class SymbolVisitorDelegate
{
25 virtual ~SymbolVisitorDelegate() = default;
27 virtual uint32_t getRecordOffset(BinaryStreamReader Reader
) = 0;
28 virtual StringRef
getFileNameForFileOffset(uint32_t FileOffset
) = 0;
29 virtual DebugStringTableSubsectionRef
getStringTable() = 0;
32 } // end namespace codeview
34 } // end namespace llvm
36 #endif // LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORDELEGATE_H