HPCToolkit
code-ranges.cpp File Reference
#include <map>
#include "code-ranges.h"
#include "process-ranges.h"
Include dependency graph for code-ranges.cpp:

Go to the source code of this file.

Classes

class  CodeRange
 

Typedefs

typedef map< void *, CodeRange * > CodeRangeSet
 

Functions

void code_ranges_reinit (void)
 
long offset_for_fn (void *addr)
 
bool consider_possible_fn_address (void *addr)
 
void new_code_range (const char *sname, void *start, void *end, long offset, DiscoverFnTy discover)
 
void process_code_ranges ()
 

Variables

static CodeRangeSet code_ranges
 

Typedef Documentation

◆ CodeRangeSet

typedef map<void*,CodeRange*> CodeRangeSet

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

Function Documentation

◆ code_ranges_reinit()

void code_ranges_reinit ( void  )

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

Here is the caller graph for this function:

◆ consider_possible_fn_address()

bool consider_possible_fn_address ( void *  addr)

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

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

◆ new_code_range()

void new_code_range ( const char *  sname,
void *  start,
void *  end,
long  offset,
DiscoverFnTy  discover 
)

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

Here is the caller graph for this function:

◆ offset_for_fn()

long offset_for_fn ( void *  addr)

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

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

◆ process_code_ranges()

void process_code_ranges ( )

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

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

Variable Documentation

◆ code_ranges

CodeRangeSet code_ranges
static

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