LLVM
23.0.0git
include
llvm
DebugInfo
CodeView
DebugUnknownSubsection.h
Go to the documentation of this file.
1
//===- DebugUnknownSubsection.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_DEBUGUNKNOWNSUBSECTION_H
10
#define LLVM_DEBUGINFO_CODEVIEW_DEBUGUNKNOWNSUBSECTION_H
11
12
#include "
llvm/DebugInfo/CodeView/DebugSubsection.h
"
13
#include "
llvm/Support/BinaryStreamRef.h
"
14
15
namespace
llvm
{
16
namespace
codeview
{
17
18
class
DebugUnknownSubsectionRef
final :
public
DebugSubsectionRef
{
19
public
:
20
DebugUnknownSubsectionRef
(
DebugSubsectionKind
Kind
,
BinaryStreamRef
Data)
21
:
DebugSubsectionRef
(
Kind
), Data(Data) {}
22
23
BinaryStreamRef
getData
()
const
{
return
Data; }
24
25
private
:
26
BinaryStreamRef
Data
;
27
};
28
}
29
}
30
31
#endif
BinaryStreamRef.h
DebugSubsection.h
llvm::BinaryStreamRef
BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.
Definition
BinaryStreamRef.h:155
llvm::codeview::DebugSubsectionRef::Kind
DebugSubsectionKind Kind
Definition
DebugSubsection.h:32
llvm::codeview::DebugSubsectionRef::DebugSubsectionRef
DebugSubsectionRef(DebugSubsectionKind Kind)
Definition
DebugSubsection.h:24
llvm::codeview::DebugUnknownSubsectionRef::getData
BinaryStreamRef getData() const
Definition
DebugUnknownSubsection.h:23
llvm::codeview::DebugUnknownSubsectionRef::DebugUnknownSubsectionRef
DebugUnknownSubsectionRef(DebugSubsectionKind Kind, BinaryStreamRef Data)
Definition
DebugUnknownSubsection.h:20
llvm::codeview
Definition
AppendingTypeTableBuilder.h:23
llvm::codeview::DebugSubsectionKind
DebugSubsectionKind
Definition
CodeView.h:294
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
FunctionInfo.h:25
llvm::Data
@ Data
Definition
SIMachineScheduler.h:55
Generated on
for LLVM by
1.14.0