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 ggc_alloc(), and mem_alloc_origin_names.
Referenced by mem_alloc_description< T >::dump().
References ggc_alloc(), and 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(), ggc_alloc(), LOCATION_LINE_EXTRA_SPACE, LOCATION_LINE_WIDTH, m_function, m_line, and MIN.
Referenced by pool_usage::dump(), bitmap_usage::dump(), mem_usage::dump(), and ggc_usage::dump().
Referenced by equal(), get_trimmed_filename(), and hash().
Referenced by vec_usage::dump(), equal(), hash(), and to_string().
bool mem_location::m_ggc |
Referenced by bitmap_usage::dump(), and mem_usage::dump().
int mem_location::m_line |
Referenced by vec_usage::dump(), equal(), hash(), and to_string().
mem_alloc_origin mem_location::m_origin |