LLVM
10.0.0svn
|
This is the base class for a remark serializer. More...
#include "llvm/Remarks/RemarkSerializer.h"
Public Member Functions | |
Serializer (raw_ostream &OS) | |
virtual | ~Serializer ()=default |
This is just an interface. More... | |
virtual void | emit (const Remark &Remark)=0 |
Public Attributes | |
raw_ostream & | OS |
The open raw_ostream that the remark diagnostics are emitted to. More... | |
Optional< StringTable > | StrTab |
The string table containing all the unique strings used in the output. More... | |
This is the base class for a remark serializer.
It includes support for using a string table while emitting.
Definition at line 25 of file RemarkSerializer.h.
|
inline |
Definition at line 32 of file RemarkSerializer.h.
References emit(), and ~Serializer().
|
virtualdefault |
This is just an interface.
Referenced by Serializer().
Implemented in llvm::remarks::YAMLSerializer.
Referenced by Serializer().
raw_ostream& llvm::remarks::Serializer::OS |
The open raw_ostream that the remark diagnostics are emitted to.
Definition at line 27 of file RemarkSerializer.h.
Optional<StringTable> llvm::remarks::Serializer::StrTab |
The string table containing all the unique strings used in the output.
The table can be serialized to be consumed after the compilation.
Definition at line 30 of file RemarkSerializer.h.
Referenced by llvm::AsmPrinter::emitRemarksSection(), and llvm::remarks::YAMLStrTabSerializer::YAMLStrTabSerializer().