diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-16 14:09:08 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-16 14:09:08 +0000 |
| commit | 3001dfeb97adebf0cb326d9aa664098e0aced5b5 (patch) | |
| tree | e29122d246e8805aa54267b05c0f6071d3400e32 /AGENTS | |
| parent | e44bdc6a2a0cf624b08046ecc7e5c5d5d9d2d66c (diff) | |
fix(jit): always emit DWARF unwind frames on macOS
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS')
| -rw-r--r-- | AGENTS/ARCH.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/AGENTS/ARCH.md b/AGENTS/ARCH.md index 04edd24..58338f3 100644 --- a/AGENTS/ARCH.md +++ b/AGENTS/ARCH.md @@ -115,6 +115,9 @@ Driver behavior (`tools/driver/main.cc`): The engine owns a clone of CodeGen's module; CodeGen retains the context and must outlive the engine. Static C++ exception ABI symbols are explicitly registered for JIT lookup; MCJIT registers the generated unwind frames. + On macOS the JIT explicitly emits DWARF unwind frames even when compact + unwind records would suffice for native linking; MCJIT does not register + compact unwind records. macOS execution still needs platform verification. The host target is initialized for native output or embedded execution. No external runner or PATH lookup is used; `-r` alone runs in memory. - In NONE mode, `-r` returns 1 before compiling or writing output; native and IR |
