llvm::InstrProfWriter::validateRecord

Validate that a profile record is consistent before writing.

Synopsis

Declared in <llvm/ProfileData/InstrProfWriter.h>

Error
validateRecord(InstrProfRecord const& Func);

Return Value

Success, or an error if the record is inconsistent.

Parameters

NameDescription
FuncProfile record to validate.