mirror of
https://github.com/RPCSX/llvm.git
synced 2026-01-31 01:05:23 +01:00
This is more concise, and matches the terminology used in other parts of the codebase more closely. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304218 91177308-0d34-0410-b5e6-96231b3b80d8
33 lines
897 B
C++
33 lines
897 B
C++
//===- DebugUnknownSubsection.h -----------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_DEBUGINFO_CODEVIEW_MODULEDEBUGUNKNOWNFRAGMENT_H
|
|
#define LLVM_DEBUGINFO_CODEVIEW_MODULEDEBUGUNKNOWNFRAGMENT_H
|
|
|
|
#include "llvm/DebugInfo/CodeView/DebugSubsection.h"
|
|
#include "llvm/Support/BinaryStreamRef.h"
|
|
|
|
namespace llvm {
|
|
namespace codeview {
|
|
|
|
class DebugUnknownSubsectionRef final : public DebugSubsectionRef {
|
|
public:
|
|
DebugUnknownSubsectionRef(DebugSubsectionKind Kind, BinaryStreamRef Data)
|
|
: DebugSubsectionRef(Kind), Data(Data) {}
|
|
|
|
BinaryStreamRef getData() const { return Data; }
|
|
|
|
private:
|
|
BinaryStreamRef Data;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif
|