1//===- DebugUnknownSubsection.h -----------------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9 10#ifndef LLVM_DEBUGINFO_CODEVIEW_MODULEDEBUGUNKNOWNFRAGMENT_H 11#define LLVM_DEBUGINFO_CODEVIEW_MODULEDEBUGUNKNOWNFRAGMENT_H 12 13#include "llvm/DebugInfo/CodeView/DebugSubsection.h" 14#include "llvm/Support/BinaryStreamRef.h" 15 16namespace llvm { 17namespace codeview { 18 19class DebugUnknownSubsectionRef final : public DebugSubsectionRef { 20public: 21 DebugUnknownSubsectionRef(DebugSubsectionKind Kind, BinaryStreamRef Data) 22 : DebugSubsectionRef(Kind), Data(Data) {} 23 24 BinaryStreamRef getData() const { return Data; } 25 26private: 27 BinaryStreamRef Data; 28}; 29} 30} 31 32#endif 33