From d2332396e43914ae8239cbc53ae7b0f1f3bb614c Mon Sep 17 00:00:00 2001 From: grischka Date: Sun, 18 Dec 2016 22:57:03 +0100 Subject: libtcc.c: -m option cleanup handle mms-bitfields as sub-options of -m. (-mfloat-abi is still special because it requires arguments) tcc.c: help(): - list -mms-bitfields under 'Target specific options' libtcc.c/MEM_DEBUG - add check for past buffer writes --- tccpp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tccpp.c') diff --git a/tccpp.c b/tccpp.c index 05c122b..c069a24 100644 --- a/tccpp.c +++ b/tccpp.c @@ -186,13 +186,13 @@ tail_call: #ifdef TAL_DEBUG if (al->nb_allocs > 0) { uint8_t *p; - fprintf(stderr, "TAL_DEBUG: mem leak %d chunks (limit= %d)\n", + fprintf(stderr, "TAL_DEBUG: memory leak %d chunk(s) (limit= %d)\n", al->nb_allocs, al->limit); p = al->buffer; while (p < al->p) { tal_header_t *header = (tal_header_t *)p; if (header->line_num > 0) { - fprintf(stderr, "%s:%d: chunk of %d bytes\n", + fprintf(stderr, "%s:%d: chunk of %d bytes leaked\n", header->file_name, header->line_num, header->size); } p += header->size + sizeof(tal_header_t); -- cgit v1.3.1