Line data Source code
1 : //===- ModuleDebugUnknownFragment.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/ModuleDebugFragment.h"
14 : #include "llvm/Support/BinaryStreamRef.h"
15 :
16 : namespace llvm {
17 : namespace codeview {
18 :
19 0 : class ModuleDebugUnknownFragmentRef final : public ModuleDebugFragmentRef {
20 : public:
21 : ModuleDebugUnknownFragmentRef(ModuleDebugFragmentKind Kind,
22 : BinaryStreamRef Data)
23 0 : : ModuleDebugFragmentRef(Kind), Data(Data) {}
24 :
25 : BinaryStreamRef getData() const { return Data; }
26 :
27 : private:
28 : BinaryStreamRef Data;
29 : };
30 : }
31 : }
32 :
33 : #endif
|