struct InstrProfCorrelator::Context

Declaration

struct InstrProfCorrelator::Context { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ProfileData/InstrProfCorrelator.h:62

Member Variables

public std::unique_ptr<MemoryBuffer> Buffer
public uint64_t CountersSectionStart
The address range of the __llvm_prf_cnts section.
public uint64_t CountersSectionEnd
public bool ShouldSwapBytes
True if target and host have different endian orders.

Method Overview

  • public static llvm::Expected<std::unique_ptr<Context>> get(std::unique_ptr<MemoryBuffer> Buffer, const object::ObjectFile & Obj)

Methods

ΒΆstatic llvm::Expected<std::unique_ptr<Context>>
get(std::unique_ptr<MemoryBuffer> Buffer,
    const object::ObjectFile& Obj)

Declared at: llvm/include/llvm/ProfileData/InstrProfCorrelator.h:64

Parameters

std::unique_ptr<MemoryBuffer> Buffer
const object::ObjectFile& Obj