class NativeObjectStream

Declaration

class NativeObjectStream { /* full declaration omitted */ };

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.

Declared at: llvm/include/llvm/LTO/LTO.h:192

Member Variables

public std::unique_ptr<raw_pwrite_stream> OS

Method Overview

Methods

NativeObjectStream(
    std::unique_ptr<raw_pwrite_stream> OS)

Declared at: llvm/include/llvm/LTO/LTO.h:194

Parameters

std::unique_ptr<raw_pwrite_stream> OS

virtual ~NativeObjectStream()

Declared at: llvm/include/llvm/LTO/LTO.h:196