LLVM 22.0.0git
VirtualOutputFile.h File Reference

This file contains the declarations of the llvm::vfs::OutputFile class, which is a virtualized output file from output backend. More...

Go to the source code of this file.

Classes

class  llvm::vfs::OutputFileImpl
class  llvm::vfs::NullOutputFileImpl
class  llvm::vfs::OutputFile
 A virtualized output file that writes to a specific backend. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::vfs

Functions

void llvm::vfs::consumeDiscardOnDestroy (OutputFile &File)
 Update File to silently discard itself if it's still open when it's destroyed.
Expected< OutputFilellvm::vfs::consumeDiscardOnDestroy (Expected< OutputFile > File)
 Update File to silently discard itself if it's still open when it's destroyed.

Detailed Description

This file contains the declarations of the llvm::vfs::OutputFile class, which is a virtualized output file from output backend.

OutputFile can be use a raw_pwrite_stream for writing, and are required to be keep() or discard() in the end.

Definition in file VirtualOutputFile.h.