diff options
| author | IAmNotSiob <273832158+IAmNotSiob@users.noreply.github.com> | 2026-11-21 21:07:23 +0100 |
|---|---|---|
| committer | IAmNotSiob <273832158+IAmNotSiob@users.noreply.github.com> | 2026-11-21 21:07:23 +0100 |
| commit | da499ab9113015ba91c2218895abc51f0aa4baf3 (patch) | |
| tree | 1554b8c0ce47c41a1a1c8dd2f747b0cb8e06f23b /runtime/src/tls_host.cpp | |
| parent | 4c75ce537add406b426d0a1dc84d9a01fb4c86c9 (diff) | |
Loader: initialise dependencies before their importers
map_image pushes a module into order_ before bind_imports maps the modules it
imports, so order_ lists an importer ahead of its DLLs, and initialise() ran
TLS callbacks and DllMain in that order. Keep a separate init_order_ filled
after a module's imports are loaded and initialise from it. modules() stays
mapping order. pe_loader_test checks tiny_dll comes before tiny_exe.
Diffstat (limited to 'runtime/src/tls_host.cpp')
0 files changed, 0 insertions, 0 deletions