Read sample profiles for selected functions into Profiles.
Declared in <llvm/ProfileData/SampleProfReader.h>
virtual
std::error_code
read(
DenseSet<StringRef> const& FuncsToUse,
SampleProfileMap& Profiles);
Currently it's only used for extended binary format to load the profiles on-demand.
Success, or an error if reading fails.
| Name | Description |
|---|---|
| FuncsToUse | Functions whose profiles should be loaded. |
| Profiles | Map receiving the loaded FunctionSamples. |