LLVM 20.0.0git
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
14
15namespace llvm {
16namespace codeview {
17
19public:
21 : DebugSubsectionRef(Kind), Data(Data) {}
22
23 BinaryStreamRef getData() const { return Data; }
24
25private:
26 BinaryStreamRef Data;
27};
28}
29}
30
31#endif
BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.
DebugUnknownSubsectionRef(DebugSubsectionKind Kind, BinaryStreamRef Data)
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18