1 //===- DebugUnknownSubsection.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_MODULEDEBUGUNKNOWNFRAGMENT_H
10 #define LLVM_DEBUGINFO_CODEVIEW_MODULEDEBUGUNKNOWNFRAGMENT_H
12 #include "llvm/DebugInfo/CodeView/DebugSubsection.h"
13 #include "llvm/Support/BinaryStreamRef.h"
18 class DebugUnknownSubsectionRef final
: public DebugSubsectionRef
{
20 DebugUnknownSubsectionRef(DebugSubsectionKind Kind
, BinaryStreamRef Data
)
21 : DebugSubsectionRef(Kind
), Data(Data
) {}
23 BinaryStreamRef
getData() const { return Data
; }