Set the current error from E and return a matching InstrProfError.

Synopsis

Declared in <llvm/ProfileData/InstrProfReader.h>

Error
error(Error&& E);

Return Value

An InstrProfError matching the recorded last error state.

Parameters

Name

Description

E

Error to unwrap into the reader's last error state.

Created with MrDocs