LLVM  10.0.0svn
Namespaces | Classes | Typedefs | Functions
llvm::MinidumpYAML Namespace Reference

Namespaces

 detail
 

Classes

struct  Object
 The top level structure representing a minidump object, consisting of a minidump header, and zero or more streams. More...
 
struct  RawContentStream
 A minidump stream represented as a sequence of hex bytes. More...
 
struct  Stream
 The base class for all minidump streams. More...
 
struct  SystemInfoStream
 SystemInfo minidump stream. More...
 
struct  TextContentStream
 A StringRef, which is printed using YAML block notation. More...
 

Typedefs

using ModuleListStream = detail::ListStream< detail::ParsedModule >
 
using ThreadListStream = detail::ListStream< detail::ParsedThread >
 
using MemoryListStream = detail::ListStream< detail::ParsedMemoryDescriptor >
 

Functions

void writeAsBinary (Object &Obj, raw_ostream &OS)
 Serialize the minidump file represented by Obj to OS in binary form. More...
 
Error writeAsBinary (StringRef Yaml, raw_ostream &OS)
 Serialize the yaml string as a minidump file to OS in binary form. More...
 

Typedef Documentation

◆ MemoryListStream

Definition at line 103 of file MinidumpYAML.h.

◆ ModuleListStream

Definition at line 101 of file MinidumpYAML.h.

◆ ThreadListStream

Definition at line 102 of file MinidumpYAML.h.

Function Documentation

◆ writeAsBinary() [1/2]

void llvm::MinidumpYAML::writeAsBinary ( Object Obj,
raw_ostream OS 
)

◆ writeAsBinary() [2/2]

Error llvm::MinidumpYAML::writeAsBinary ( StringRef  Yaml,
raw_ostream OS 
)

Serialize the yaml string as a minidump file to OS in binary form.

Definition at line 579 of file MinidumpYAML.cpp.

References llvm::errorCodeToError(), llvm::Error::success(), and writeAsBinary().