LLVM
15.0.0git
include
llvm
DebugInfo
CodeView
SymbolVisitorDelegate.h
Go to the documentation of this file.
1
//===-- SymbolVisitorDelegate.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_SYMBOLVISITORDELEGATE_H
10
#define LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORDELEGATE_H
11
12
#include "
llvm/ADT/StringRef.h
"
13
#include <cstdint>
14
15
namespace
llvm
{
16
17
class
BinaryStreamReader;
18
19
namespace
codeview {
20
21
class
DebugStringTableSubsectionRef;
22
23
class
SymbolVisitorDelegate
{
24
public
:
25
virtual
~SymbolVisitorDelegate
() =
default
;
26
27
virtual
uint32_t
getRecordOffset
(
BinaryStreamReader
Reader) = 0;
28
virtual
StringRef
getFileNameForFileOffset
(
uint32_t
FileOffset) = 0;
29
virtual
DebugStringTableSubsectionRef
getStringTable
() = 0;
30
};
31
32
}
// end namespace codeview
33
34
}
// end namespace llvm
35
36
#endif // LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORDELEGATE_H
llvm::codeview::SymbolVisitorDelegate::getFileNameForFileOffset
virtual StringRef getFileNameForFileOffset(uint32_t FileOffset)=0
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:17
llvm::codeview::SymbolVisitorDelegate
Definition:
SymbolVisitorDelegate.h:23
StringRef.h
llvm::codeview::SymbolVisitorDelegate::~SymbolVisitorDelegate
virtual ~SymbolVisitorDelegate()=default
llvm::BinaryStreamReader
Provides read only access to a subclass of BinaryStream.
Definition:
BinaryStreamReader.h:29
llvm::StringRef
StringRef - Represent a constant reference to a string, i.e.
Definition:
StringRef.h:58
uint32_t
llvm::codeview::SymbolVisitorDelegate::getRecordOffset
virtual uint32_t getRecordOffset(BinaryStreamReader Reader)=0
llvm::codeview::DebugStringTableSubsectionRef
Represents a read-only view of a CodeView string table.
Definition:
DebugStringTableSubsection.h:31
llvm::codeview::SymbolVisitorDelegate::getStringTable
virtual DebugStringTableSubsectionRef getStringTable()=0
Generated on Sat May 28 2022 08:05:49 for LLVM by
1.8.17