restore a max memory usage printing for a new MEM_DEBUG when -bench

This commit is contained in:
seyko
2015-05-12 16:07:09 +03:00
parent c52e1a9af5
commit 1234beccb8
2 changed files with 7 additions and 4 deletions

2
tcc.h
View File

@ -1087,7 +1087,7 @@ PUB_FUNC char *tcc_strdup_debug(const char *str, const char *file, int line);
#define realloc(p, s) use_tcc_realloc(p, s)
#undef strdup
#define strdup(s) use_tcc_strdup(s)
PUB_FUNC void tcc_memstats(void);
PUB_FUNC void tcc_memstats(int bench);
PUB_FUNC void tcc_error_noabort(const char *fmt, ...);
PUB_FUNC NORETURN void tcc_error(const char *fmt, ...);
PUB_FUNC void tcc_warning(const char *fmt, ...);