15 for (
auto &Dest : Destinations) {
16 AllErrs =
joinErrors(std::move(AllErrs), Dest->receiveEntry(Entry));
22 Destinations.push_back(std::move(Dest));
This file provides the basic framework for Telemetry.
Lightweight error class with error context and mandatory checking.
static ErrorSuccess success()
Create a success value.
virtual Error preDispatch(TelemetryInfo *Entry)=0
void addDestination(std::unique_ptr< Destination > Destination)
virtual Error dispatch(TelemetryInfo *Entry)
virtual void write(StringRef KeyName, bool Value)=0
This is an optimization pass for GlobalISel generic memory operations.
Error joinErrors(Error E1, Error E2)
Concatenate errors.
TelemetryInfo is the data courier, used to move instrumented data from the tool being monitored to th...
virtual void serialize(Serializer &serializer) const