LLVM 20.0.0git
Public Types | Public Attributes | List of all members
llvm::xray::SledEntry Struct Reference

Represents an XRay instrumentation sled entry from an object file. More...

#include "llvm/XRay/InstrumentationMap.h"

Public Types

enum class  FunctionKinds {
  ENTRY , EXIT , TAIL , LOG_ARGS_ENTER ,
  CUSTOM_EVENT
}
 Each entry here represents the kinds of supported instrumentation map entries. More...
 

Public Attributes

uint64_t Address
 The address of the sled.
 
uint64_t Function
 The address of the function.
 
FunctionKinds Kind
 The kind of sled.
 
bool AlwaysInstrument
 Whether the sled was annotated to always be instrumented.
 
unsigned char Version
 

Detailed Description

Represents an XRay instrumentation sled entry from an object file.

Definition at line 37 of file InstrumentationMap.h.

Member Enumeration Documentation

◆ FunctionKinds

Each entry here represents the kinds of supported instrumentation map entries.

Enumerator
ENTRY 
EXIT 
TAIL 
LOG_ARGS_ENTER 
CUSTOM_EVENT 

Definition at line 40 of file InstrumentationMap.h.

Member Data Documentation

◆ Address

uint64_t llvm::xray::SledEntry::Address

The address of the sled.

Definition at line 43 of file InstrumentationMap.h.

◆ AlwaysInstrument

bool llvm::xray::SledEntry::AlwaysInstrument

Whether the sled was annotated to always be instrumented.

Definition at line 52 of file InstrumentationMap.h.

◆ Function

uint64_t llvm::xray::SledEntry::Function

The address of the function.

Definition at line 46 of file InstrumentationMap.h.

◆ Kind

FunctionKinds llvm::xray::SledEntry::Kind

The kind of sled.

Definition at line 49 of file InstrumentationMap.h.

◆ Version

unsigned char llvm::xray::SledEntry::Version

Definition at line 54 of file InstrumentationMap.h.


The documentation for this struct was generated from the following file: