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

A StringRef, which is printed using YAML block notation. More...

#include "llvm/ObjectYAML/MinidumpYAML.h"

Inheritance diagram for llvm::MinidumpYAML::TextContentStream:
Inheritance graph

Public Member Functions

 TextContentStream (minidump::StreamType Type, StringRef Text={})
- 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.
static std::unique_ptr< Streamcreate (minidump::StreamType Type)
 Create an empty stream of the given Type.
static Expected< std::unique_ptr< Stream > > create (const minidump::Directory &StreamDesc, const object::MinidumpFile &File)
 Create a stream from the given stream directory entry.

Public Attributes

BlockStringRef Text
- 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 class  StreamKind {
  Exception , MemoryInfoList , MemoryList , ModuleList ,
  RawContent , SystemInfo , TextContent , ThreadList

Detailed Description

A StringRef, which is printed using YAML block notation.

A minidump stream containing textual data (typically, the contents of a /proc/<pid> file on linux).

Definition at line 186 of file MinidumpYAML.h.

Constructor & Destructor Documentation

◆ TextContentStream()

llvm::MinidumpYAML::TextContentStream::TextContentStream ( minidump::StreamType  Type,
StringRef  Text = {} 

Definition at line 189 of file MinidumpYAML.h.

Member Function Documentation

◆ classof()

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

Definition at line 192 of file MinidumpYAML.h.

References llvm::MinidumpYAML::Stream::Kind.

Member Data Documentation

◆ Text

BlockStringRef llvm::MinidumpYAML::TextContentStream::Text

Definition at line 187 of file MinidumpYAML.h.

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