Searched refs:ValueOrError (Results 1 – 2 of 2) sorted by relevance
121 auto ValueOrError = readOrError(); in read() local122 if (ValueOrError) { in read()123 if (!ValueOrError.get().empty()) in read()124 return ValueOrError.get()[0]; in read()127 errs() << ValueOrError.takeError() << "\n"; in read()
121 auto ValueOrError = Counter->readOrError(Function.getFunctionBytes()); in runAndSample() local122 if (!ValueOrError) in runAndSample()123 return ValueOrError.takeError(); in runAndSample()124 accumulateCounterValues(ValueOrError.get(), &CounterValues); in runAndSample()