GCC Middle and Back End API Reference
|
#include <mem-stats.h>
Public Member Functions | |
mem_location () | |
mem_location (mem_alloc_origin origin, bool ggc, const char *filename=NULL, int line=0, const char *function=NULL) | |
mem_location (mem_location &other) | |
hashval_t | hash () |
int | equal (const mem_location &other) |
const char * | get_trimmed_filename () |
char * | to_string () |
Static Public Member Functions | |
static const char * | get_origin_name (mem_alloc_origin origin) |
Data Fields | |
const char * | m_filename |
const char * | m_function |
int | m_line |
mem_alloc_origin | m_origin |
bool | m_ggc |
Memory allocation location.
|
inline |
|
inline |
|
inline |
|
inline |
References m_filename, m_function, and m_line.
|
inlinestatic |
References mem_alloc_origin_names.
Referenced by mem_alloc_description< T >::dump().
|
inline |
References m_filename.
Referenced by vec_usage::dump(), and to_string().
|
inline |
References inchash::hash::add_ptr(), hash(), m_filename, m_function, and m_line.
Referenced by hash().
|
inline |
References get_trimmed_filename(), LOCATION_LINE_EXTRA_SPACE, LOCATION_LINE_WIDTH, m_function, m_line, and MIN.
Referenced by bitmap_usage::dump(), ggc_usage::dump(), mem_usage::dump(), and pool_usage::dump().
const char* mem_location::m_filename |
const char* mem_location::m_function |
bool mem_location::m_ggc |
Referenced by bitmap_usage::dump(), and mem_usage::dump().
int mem_location::m_line |
mem_alloc_origin mem_location::m_origin |