LLVM  15.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::MinidumpYAML::RawContentStream Struct Reference

A minidump stream represented as a sequence of hex bytes. More...

#include "llvm/ObjectYAML/MinidumpYAML.h"

Inheritance diagram for llvm::MinidumpYAML::RawContentStream:
Inheritance graph
Collaboration diagram for llvm::MinidumpYAML::RawContentStream:
Collaboration graph

Public Member Functions

 RawContentStream (minidump::StreamType Type, ArrayRef< uint8_t > Content={})
- Public Member Functions inherited from llvm::MinidumpYAML::Stream
 Stream (StreamKind Kind, minidump::StreamType Type)
virtual ~Stream ()

Static Public Member Functions

static bool classof (const Stream *S)
- Static Public Member Functions inherited from llvm::MinidumpYAML::Stream
static StreamKind getKind (minidump::StreamType Type)
 Get the stream Kind used for representing streams of a given Type. More...
static std::unique_ptr< Streamcreate (minidump::StreamType Type)
 Create an empty stream of the given Type. More...
static Expected< std::unique_ptr< Stream > > create (const minidump::Directory &StreamDesc, const object::MinidumpFile &File)
 Create a stream from the given stream directory entry. More...

Public Attributes

yaml::BinaryRef Content
yaml::Hex32 Size
- Public Attributes inherited from llvm::MinidumpYAML::Stream
const StreamKind Kind
const minidump::StreamType Type

Additional Inherited Members

- Public Types inherited from llvm::MinidumpYAML::Stream
enum  StreamKind {
  StreamKind::Exception, StreamKind::MemoryInfoList, StreamKind::MemoryList, StreamKind::ModuleList,
  StreamKind::RawContent, StreamKind::SystemInfo, StreamKind::TextContent, StreamKind::ThreadList

Detailed Description

A minidump stream represented as a sequence of hex bytes.

This is used as a fallback when no other stream kind is suitable.

Definition at line 148 of file MinidumpYAML.h.

Constructor & Destructor Documentation

◆ RawContentStream()

llvm::MinidumpYAML::RawContentStream::RawContentStream ( minidump::StreamType  Type,
ArrayRef< uint8_t >  Content = {} 

Definition at line 152 of file MinidumpYAML.h.

Member Function Documentation

◆ classof()

static bool llvm::MinidumpYAML::RawContentStream::classof ( const Stream S)

Definition at line 156 of file MinidumpYAML.h.

References llvm::MinidumpYAML::Stream::RawContent, and S.

Member Data Documentation

◆ Content

yaml::BinaryRef llvm::MinidumpYAML::RawContentStream::Content

Definition at line 149 of file MinidumpYAML.h.

◆ Size

yaml::Hex32 llvm::MinidumpYAML::RawContentStream::Size

Definition at line 150 of file MinidumpYAML.h.

Referenced by layout().

The documentation for this struct was generated from the following file: