mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-13 05:10:07 +08:00
Enabled test 112_backtrace
Changed script in Makefile for testcase 112 Used bound_struct_copy_count in lib/bcheck.c
This commit is contained in:
parent
2d210fef49
commit
2c70652e04
@ -1246,6 +1246,7 @@ void __attribute__((destructor)) __bound_exit(void)
|
||||
fprintf (stderr, "bound_strcat_count %llu\n", bound_strcat_count);
|
||||
fprintf (stderr, "bound_strchr_count %llu\n", bound_strchr_count);
|
||||
fprintf (stderr, "bound_strdup_count %llu\n", bound_strdup_count);
|
||||
fprintf (stderr, "bound_struct_copy_count %llu\n", bound_struct_copy_count);
|
||||
fprintf (stderr, "bound_not_found %llu\n", bound_not_found);
|
||||
#endif
|
||||
#if BOUND_STATISTIC_SPLAY
|
||||
|
@ -17,7 +17,6 @@ ifdef CONFIG_OSX
|
||||
endif
|
||||
ifeq ($(ARCH),x86_64)
|
||||
SKIP += 73_arm64.test
|
||||
SKIP += 112_backtrace.test # Here memory copy behaves differently
|
||||
endif
|
||||
ifeq (,$(filter i386,$(ARCH)))
|
||||
SKIP += 98_al_ax_extend.test 99_fastcall.test
|
||||
@ -106,7 +105,8 @@ GEN-ALWAYS =
|
||||
112_backtrace.test: FLAGS += -dt -b
|
||||
112_backtrace.test 113_btdll.test 126_bound_global.test: FILTER += \
|
||||
-e 's;[0-9A-Fa-fx]\{5,\};........;g' \
|
||||
-e 's;0x[0-9A-Fa-f]\{1,\};0x?;g'
|
||||
-e 's;0x[0-9A-Fa-f]\{1,\};0x?;g' \
|
||||
-e 's;struct copy destination;memmove dest;g' \
|
||||
|
||||
# this test creates two DLLs and an EXE
|
||||
113_btdll.test: T1 = \
|
||||
|
Loading…
Reference in New Issue
Block a user