ΒΆtemplate <class FuncRecordTy,
          support::endianness Endian>
llvm::Error getFuncNameViaRef(
    const FuncRecordTy* Record,
    llvm::InstrProfSymtab& ProfileNames,
    llvm::StringRef& FuncName)

Description

Return the PGO name of the function. Used for formats in which the name is a hash.

Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:792

Templates

FuncRecordTy
support::endianness Endian

Parameters

const FuncRecordTy* Record
llvm::InstrProfSymtab& ProfileNames
llvm::StringRef& FuncName