Mercurial > pub > dyncall > dyncall
view test/resolve_self/README.txt @ 611:d94b053311a7
test/plain_c++:
- refactored to share code
- extended to treat default this calls and explicitly as cdecl declared ones, separately
- prev point fixes implicitly on x86 a wrong dcMode setting (assumed that cdecl for methods would default to the native this call convention, but actually does not, applies cdecl verbatim)
- extended aggr tests to also test explicit cdecl as well as MS thiscalls on x86
- simplified
author | Tassilo Philipp |
---|---|
date | Thu, 29 Sep 2022 11:47:54 +0200 |
parents | 318a9ffc2b85 |
children |
line wrap: on
line source
test for dynload library to resolve symbols from application image itself. by Daniel Adler in 2010 Description A test function is specified in the main application, that will be dynamically resolved on main entry of the test program. The library path argument to dlLoadLibrary is set to NULL to specify the application image. Background self referencing is important on configurations where there is no shared library but everything is statically linked. Note that on some platforms, linker flags have to be used so symbol names are in the binary, at first hand (e.g. --export-dynamic).