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