LLVM  8.0.1
Public Member Functions | Public Attributes | List of all members
llvm::lto::NativeObjectStream Class Reference

This class wraps an output stream for a native object. More...

#include "llvm/LTO/LTO.h"

Collaboration diagram for llvm::lto::NativeObjectStream:
Collaboration graph
[legend]

Public Member Functions

 NativeObjectStream (std::unique_ptr< raw_pwrite_stream > OS)
 
virtual ~NativeObjectStream ()=default
 

Public Attributes

std::unique_ptr< raw_pwrite_streamOS
 

Detailed Description

This class wraps an output stream for a native object.

Most clients should just be able to return an instance of this base class from the stream callback, but if a client needs to perform some action after the stream is written to, that can be done by deriving from this class and overriding the destructor.

Definition at line 175 of file LTO.h.

Constructor & Destructor Documentation

◆ NativeObjectStream()

llvm::lto::NativeObjectStream::NativeObjectStream ( std::unique_ptr< raw_pwrite_stream OS)
inline

Definition at line 177 of file LTO.h.

◆ ~NativeObjectStream()

virtual llvm::lto::NativeObjectStream::~NativeObjectStream ( )
virtualdefault

Member Data Documentation

◆ OS

std::unique_ptr<raw_pwrite_stream> llvm::lto::NativeObjectStream::OS

Definition at line 178 of file LTO.h.


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