get overloads
Declared in <llvm/ProfileData/InstrProfCorrelator.h>
Construct a correlator implementation for Obj using context Ctx.
static
llvm::Expected<std::unique_ptr<InstrProfCorrelatorImpl<IntPtrT>>>
get(
std::unique_ptr<InstrProfCorrelator::Context> Ctx,
object::ObjectFile const& Obj,
ProfCorrelatorKind FileKind);
» more...
Construct a correlator for the object file at Filename.
static
llvm::Expected<std::unique_ptr<InstrProfCorrelator>>
get(
StringRef Filename,
ProfCorrelatorKind FileKind,
object::BuildIDFetcher const* BIDFetcher = nullptr,
ArrayRef<llvm::object::BuildID> const BIs = {});
» more...
The correlator on success, or an error if construction fails.
| Name | Description |
|---|---|
| Ctx | Object-file context used during correlation. |
| Obj | Object file that supplies correlation metadata. |
| FileKind | Kind of correlation data to read from Obj. |
| Filename | Path to the object file used for correlation. |
| BIDFetcher | Optional build-ID fetcher used to resolve the binary. |
| BIs | Build IDs from the profile used with BIDFetcher. |