LLVM  6.0.0svn
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

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 163 of file LTO.h.

Constructor & Destructor Documentation

◆ NativeObjectStream()

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

Definition at line 165 of file LTO.h.

◆ ~NativeObjectStream()

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

Member Data Documentation

◆ OS

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

Definition at line 166 of file LTO.h.

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