HPCToolkit
CodeRange Class Reference

Public Member Functions

 CodeRange (const char *_name, void *_start, void *_end, long _offset, DiscoverFnTy discover)
 
void Process ()
 
bool Contains (void *addr)
 
DiscoverFnTy Discover ()
 
void * Relocate (void *addr)
 
long Offset ()
 

Private Attributes

const char * name
 
void * start
 
void * end
 
long offset
 
DiscoverFnTy discover
 

Detailed Description

Definition at line 63 of file code-ranges.cpp.

Constructor & Destructor Documentation

◆ CodeRange()

CodeRange::CodeRange ( const char *  _name,
void *  _start,
void *  _end,
long  _offset,
DiscoverFnTy  discover 
)

Definition at line 161 of file code-ranges.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ Contains()

bool CodeRange::Contains ( void *  addr)

Definition at line 178 of file code-ranges.cpp.

Here is the caller graph for this function:

◆ Discover()

DiscoverFnTy CodeRange::Discover ( )
inline

Definition at line 69 of file code-ranges.cpp.

Here is the caller graph for this function:

◆ Offset()

long CodeRange::Offset ( )
inline

Definition at line 71 of file code-ranges.cpp.

Here is the caller graph for this function:

◆ Process()

void CodeRange::Process ( )

Definition at line 184 of file code-ranges.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Relocate()

void * CodeRange::Relocate ( void *  addr)

Definition at line 172 of file code-ranges.cpp.

Member Data Documentation

◆ discover

DiscoverFnTy CodeRange::discover
private

Definition at line 77 of file code-ranges.cpp.

◆ end

void* CodeRange::end
private

Definition at line 75 of file code-ranges.cpp.

◆ name

const char* CodeRange::name
private

Definition at line 73 of file code-ranges.cpp.

◆ offset

long CodeRange::offset
private

Definition at line 76 of file code-ranges.cpp.

◆ start

void* CodeRange::start
private

Definition at line 74 of file code-ranges.cpp.


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