LLVM  8.0.1
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"

Collaboration diagram for llvm::xray::SledEntry:
Collaboration graph
[legend]

Public Types

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

Public Attributes

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

Detailed Description

Represents an XRay instrumentation sled entry from an object file.

Definition at line 38 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 41 of file InstrumentationMap.h.

Member Data Documentation

◆ Address

uint64_t llvm::xray::SledEntry::Address

The address of the sled.

Definition at line 44 of file InstrumentationMap.h.

◆ AlwaysInstrument

bool llvm::xray::SledEntry::AlwaysInstrument

Whether the sled was annotated to always be instrumented.

Definition at line 53 of file InstrumentationMap.h.

◆ Function

uint64_t llvm::xray::SledEntry::Function

The address of the function.

Definition at line 47 of file InstrumentationMap.h.

◆ Kind

FunctionKinds llvm::xray::SledEntry::Kind

The kind of sled.

Definition at line 50 of file InstrumentationMap.h.


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