From cf0fb69b3d489cd0aebaa2d759b2d2c0c4e230b1 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Mon, 19 Oct 2026 10:51:13 +0000 Subject: fix(driver): normalize MinGW JIT archive symbol definitions Make absolute-zero pure virtual fallbacks local and compute runtime archive interfaces from normalized objects so ORC definitions match JITLink. Co-Authored-By: Claude Opus 5.5 --- AGENTS/ARCH.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'AGENTS') diff --git a/AGENTS/ARCH.md b/AGENTS/ARCH.md index b14210a..57615da 100644 --- a/AGENTS/ARCH.md +++ b/AGENTS/ARCH.md @@ -144,8 +144,9 @@ Driver behavior (`tools/driver/main.cc`): in private object-buffer copies before graph construction, including lazy runtime archive members. It also makes MinGW's weak `__cxa_pure_virtual` reference with an absolute-zero fallback an ordinary external, resolved to - the host ABI function. The runner binds the host's initialized stack guard, - stack-check failure handler and `write` alias (`_write`) on MinGW. + the host ABI function. The fallback is made local, and runtime archive + interfaces are computed from the normalized object. The runner binds the host's + initialized stack guard, stack-check failure handler and `write` alias (`_write`) on MinGW. Per-graph `__ImageBase` is shared by relocations and SEH registration, with default backend liveness for `.pdata` and associative code edges retaining the suffixed unwind sections. JITLink uses -- cgit v1.3.1-4-g156e