|
LLVM 23.0.0git
|
#include "llvm/ProfileData/InstrProfCorrelator.h"
Static Public Member Functions | |
| static LLVM_ABI llvm::Expected< std::unique_ptr< Context > > | get (std::unique_ptr< MemoryBuffer > Buffer, object::ObjectFile &Obj, ProfCorrelatorKind FileKind) |
Public Attributes | |
| std::unique_ptr< MemoryBuffer > | Buffer |
| uint64_t | CountersSectionStart |
| The address range of the __llvm_prf_cnts section. | |
| uint64_t | CountersSectionEnd |
| const char * | DataStart |
| The pointer points to start/end of profile data/name sections if FileKind is Binary. | |
| const char * | DataEnd |
| const char * | NameStart |
| size_t | NameSize |
| llvm::DenseMap< uint64_t, uint64_t > | MachOFixups |
| Resolved values for Mach-O linker fixup chains when FileKind is Binary. | |
| bool | ShouldSwapBytes |
| True if target and host have different endian orders. | |
Definition at line 79 of file InstrProfCorrelator.h.
|
static |
Definition at line 56 of file InstrProfCorrelator.cpp.
References llvm::InstrProfCorrelator::BINARY, Buffer, llvm::CallingConv::C, llvm::Triple::COFF, getInstrProfSection(), llvm::getInstrProfSectionName(), llvm::sys::IsLittleEndianHost, llvm::Triple::MachO, llvm::StringRef::split(), and llvm::Error::success().
| std::unique_ptr<MemoryBuffer> llvm::InstrProfCorrelator::Context::Buffer |
Definition at line 83 of file InstrProfCorrelator.h.
Referenced by get().
| uint64_t llvm::InstrProfCorrelator::Context::CountersSectionEnd |
Definition at line 86 of file InstrProfCorrelator.h.
| uint64_t llvm::InstrProfCorrelator::Context::CountersSectionStart |
The address range of the __llvm_prf_cnts section.
Definition at line 85 of file InstrProfCorrelator.h.
Definition at line 90 of file InstrProfCorrelator.h.
The pointer points to start/end of profile data/name sections if FileKind is Binary.
Definition at line 89 of file InstrProfCorrelator.h.
| llvm::DenseMap<uint64_t, uint64_t> llvm::InstrProfCorrelator::Context::MachOFixups |
Resolved values for Mach-O linker fixup chains when FileKind is Binary.
The mapping is from an address relative to the start of __llvm_covdata, to the resolved pointer value at that address.
Definition at line 96 of file InstrProfCorrelator.h.
| size_t llvm::InstrProfCorrelator::Context::NameSize |
Definition at line 92 of file InstrProfCorrelator.h.
Definition at line 91 of file InstrProfCorrelator.h.
| bool llvm::InstrProfCorrelator::Context::ShouldSwapBytes |
True if target and host have different endian orders.
Definition at line 98 of file InstrProfCorrelator.h.