RAII handle that manages the lifetime of the ToolOutputFile used to output remarks.
Synopsis
Declared in <llvm/IR/LLVMRemarkStreamer.h>
class LLVMRemarkFileHandle final
Description
On destruction (or when calling releaseFile()), this handle ensures that the optimization remarks are finalized and the RemarkStreamer is correctly deregistered from the LLVMContext.
Member Functions
Name |
Description |
|
Constructors |
Finalize remark emission for the associated LLVM context. |
|
Return a pointer to the owned ToolOutputFile, or null. |
|
Return a reference to the owned ToolOutputFile. |
|
Return a pointer to the owned ToolOutputFile. |
|
Finalize remark emission and release the underlying ToolOutputFile. |
|
Return true if this handle owns a ToolOutputFile. |
Non-Member Functions
Name |
Description |
Set up optimization remarks that output to a file. |
|
Finalizes and flushes an optimization remarks output file. |
|
Setup optimization remarks. |
Created with MrDocs