Mercurial > pub > dyncall > dyncall
view test/Makefile.generic @ 533:71c884e610f0
- integration of patches from Raphael Luba, Thekla, Inc.:
* integration of aggregate-by-value (struct, union) support patch for x64 (win and sysv)
* windows/x64 asm additions to specify how stack unwinds (help for debuggers, exception handling, etc.)
* see Changelog for details
- new calling convention modes for thiscalls (platform agnostic, was specific before)
* new signature character for platform agnostic thiscalls ('*' / DC_SIGCHAR_CC_THISCALL)
- dcCallF(), dcVCallF(), dcArgF() and dcVArgF():
* added support for aggregates-by-value (wasn't part of patch)
* change that those functions don't implicitly call dcReset() anymore, which was unflexible (breaking change)
- added macros to feature test implementation for aggregate-by-value and syscall support
- changed libdyncall_s.lib and libdyncallback_s.lib order in callback test makefiles, as some toolchains are picky about order
- doc:
* man page updates to describe aggregate interface
* manual overview changes to highlight platforms with aggregate-by-value support
- test/plain: replaced tests w/ old/stale sctruct interface with new aggregate one
author | Tassilo Philipp |
---|---|
date | Thu, 21 Apr 2022 13:35:47 +0200 |
parents | 93628a1eaed4 |
children | 917d5d213815 |
line wrap: on
line source
ALL=call_suite call_suite_aggrs callback_suite callback_suite_aggrs plain plain_c++ suite suite2 suite3 suite_floats ellipsis callf syscall dynload_plain resolve_self thunk malloc_wx callback_plain PACK=call_suite call_suite_aggrs callback_suite callback_suite_aggrs plain plain_c++ suite suite2 suite3 suite_floats ellipsis callf dynload_plain resolve_self callback_plain .PHONY: all clean run-tests install distclean ${ALL} all clean install: ${MAKE} TARGET=$@ ${ALL} ${ALL}:: cd $@ && ${MAKE} ${TARGET} run-tests: all ${VPATH}/run-build.sh ${ALL} | grep "result:" all-c: cd plain && ${MAKE} cd call_suite && ${MAKE} cd call_suite_aggrs && ${MAKE} cd suite && ${MAKE} cd callf && ${MAKE} cd syscall && ${MAKE} cd dynload_plain && ${MAKE} cd resolve_self && ${MAKE} cd thunk && ${MAKE} cd malloc_wx && ${MAKE} cd callback_plain && ${MAKE} cd callback_suite && ${MAKE} cd callback_suite_aggrs && ${MAKE} all-win32: cd suite_x86win32std && ${MAKE} cd suite_x86win32fast && ${MAKE} cd suite2_x86win32std && ${MAKE} cd suite2_x86win32fast && ${MAKE} run-win32: suite_x86win32std/suite_x86win32std suite_x86win32fast/suite_x86win32fast suite2_x86win32std/suite2_x86win32std suite2_x86win32fast/suite2_x86win32fast all-dyncall: cd plain && ${MAKE} cd plain_c++ && ${MAKE} cd call_suite && ${MAKE} cd call_suite_aggrs && ${MAKE} cd suite && ${MAKE} cd suite2 && ${MAKE} cd suite3 && ${MAKE} cd suite_floats && ${MAKE} cd ellipsis && ${MAKE} cd callf && ${MAKE} cd syscall && ${MAKE} run-dyncall: plain/plain plain_c++/plain_c++ call_suite/call_suite call_suite_aggrs/call_suite_aggrs suite/suite suite2/suite2 suite3/suite3 suite_floats/suite_floats ellipsis/ellipsis callf/callf syscall/syscall all-dynload: cd dynload_plain && ${MAKE} cd resolve_self && ${MAKE} run-dynload: dynload_plain/dynload_plain resolve_self/resolve_self all-dyncallback: cd thunk && ${MAKE} cd malloc_wx && ${MAKE} cd callback_plain && ${MAKE} cd callback_suite && ${MAKE} cd callback_suite_aggrs && ${MAKE} run-dyncallback: thunk/thunk malloc_wx/malloc_wx callback_plain/callback_plain callback_suite/callback_suite callback_suite_aggrs/callback_suite_aggrs pack: ${PACK} ${VPATH}/pack-tests.sh ${PACK} distclean: rm -rf _work _packed