tcc.c: - be nice to leak checkers tcctools.c: - remove unused TCCState params tccrun.c: - call bound_exit() after signals to let it free mem tccelf.c: - use section_add() instead of section_ptr_add() when more appropriate tccpp.c: - use size_t to align tal_header naturally - 'POINTER_SIZE' and 'PTR_SIZE' in the same source is confusing - "char file_name[TAL_DEBUG_FILE_LEN + 1];" looks silly. - next_nomacro(): skip UTF8 BOM at BOF tccgen.c: - get rid of STMT_EXPR clause on top of block - warn with useless type like 'int;' - move skip()'s in block() for better error line-info - BIT_SIZE bits are meaningful only with VT_BITFIELD (not with enums for example) workflow/test-win32: - build with MSVC using build-tcc.bat also alloca.S: - fix 'off by one' problem on win32 (must touch current page too because the 'push %edx' at the end could touch the next page) - must not align greater than 4 when used for struct args (i386-gen.c:gfunc_call()) libtcc.c: - accept -g1dwarf (dwarf output, only line info)
Showing the changes to tests (2 of 17 files). Show all
Unified · Split
| @@ -79,7 +79,7 @@ endif · 78 unmodified lines | ||
| 79 | 79 | |
| 80 | 80 | all test : |
| 81 | 81 | @echo ------------ version ------------ |
| 82 | − @ASAN_OPTIONS=detect_leaks=0 $(TCC_LOCAL) -v | |
| 82 | + @$(TCC_LOCAL) -v | |
| 83 | 83 | @$(MAKE) --no-print-directory -s clean |
| 84 | 84 | @$(MAKE) --no-print-directory -s -r _all |
| 85 | 85 | |
| @@ -102,7 +102,6 @@ GEN-ALWAYS = · 101 unmodified lines | ||
| 102 | 102 | 112_backtrace.test 113_btdll.test 126_bound_global.test: FILTER += \ |
| 103 | 103 | -e 's;[0-9A-Fa-fx]\{5,\};........;g' \ |
| 104 | 104 | -e 's;0x[0-9A-Fa-f]\{1,\};0x?;g' |
| 105 | −112_backtrace.test: LEAK=ASAN_OPTIONS=detect_leaks=0 | |
| 106 | 105 | |
| 107 | 106 | # this test creates two DLLs and an EXE |
| 108 | 107 | 113_btdll.test: T1 = \ |
| @@ -137,7 +136,7 @@ all test tests2.all: $(filter-out $(SKIP),$(TESTS)) · 28 unmodified lines | ||
| 137 | 136 | @echo Test: $*... |
| 138 | 137 | @$(call T1,$<) $(T3) |
| 139 | 138 | |
| 140 | −T1 = $(LEAK) $(TCC) $(FLAGS) $(T2) $(ARGS) | |
| 139 | +T1 = $(TCC) $(FLAGS) $(T2) $(ARGS) | |
| 141 | 140 | T2 = $(if $(NORUN),$1 -o $(basename $@).exe && ./$(basename $@).exe,-run $1) |
| 142 | 141 | T3 = $(FILTER) >$*.output 2>&1 || true \ |
| 143 | 142 | && diff -Nbu $(filter %.expect,$^) $*.output \ |