LLVM: llvm::remarks::YAMLRemarkSerializer Struct Reference (original) (raw)

Serialize the remarks to YAML. More...

#include "[llvm/Remarks/YAMLRemarkSerializer.h](YAMLRemarkSerializer%5F8h%5Fsource.html)"

Public Member Functions
YAMLRemarkSerializer (raw_ostream &OS)
YAMLRemarkSerializer (raw_ostream &OS, StringTable StrTabIn)
void emit (const Remark &Remark) override
Emit a remark to the stream.
std::unique_ptr< MetaSerializer > metaSerializer (raw_ostream &OS, StringRef ExternalFilename) override
Return the corresponding metadata serializer.
Public Member Functions inherited from llvm::remarks::RemarkSerializer
RemarkSerializer (Format SerializerFormat, raw_ostream &OS)
virtual ~RemarkSerializer ()=default
virtual void finalize ()
Finalize remark emission (e.g.
Public Attributes
yaml::Output YAMLOutput
The YAML streamer.
Public Attributes inherited from llvm::remarks::RemarkSerializer
Format SerializerFormat
The format of the serializer.
raw_ostream & OS
The open raw_ostream that the remark diagnostics are emitted to.
std::optional< StringTable > StrTab
The string table containing all the unique strings used in the output.

Serialize the remarks to YAML.

One remark entry looks like this: — ! Pass: Name: DebugLoc: { File: , Line: , Column: } Function: Args:

DebugLoc: { File: , Line: , Column: } ...

Definition at line 34 of file YAMLRemarkSerializer.h.

YAMLRemarkSerializer::YAMLRemarkSerializer ( raw_ostream & OS )

YAMLRemarkSerializer() [2/2]

classof()

emit()

void YAMLRemarkSerializer::emit ( const Remark & Remark) overridevirtual

metaSerializer()

YAMLOutput

yaml::Output llvm::remarks::YAMLRemarkSerializer::YAMLOutput


The documentation for this struct was generated from the following files: