Skip to content

JIT: Add DWARF support#1910

Merged
bettio merged 1 commit intoatomvm:release-0.7from
pguyot:w41/jit-dwarf
Mar 24, 2026
Merged

JIT: Add DWARF support#1910
bettio merged 1 commit intoatomvm:release-0.7from
pguyot:w41/jit-dwarf

Conversation

@pguyot
Copy link
Copy Markdown
Collaborator

@pguyot pguyot commented Oct 18, 2025

Continuation of:

Precompile an ELF binary with DWARF symbols. Suitable for debugging, registering symbols at runtime with gdb and lldb.
Currently uses newly allocated Erlang language code.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@pguyot pguyot force-pushed the w41/jit-dwarf branch 2 times, most recently from ee776f1 to abd9f48 Compare October 23, 2025 05:57
@pguyot pguyot changed the base branch from main to release-0.7 March 21, 2026 21:02
@pguyot pguyot force-pushed the w41/jit-dwarf branch 4 times, most recently from 2183322 to 6857d1c Compare March 22, 2026 20:18
@pguyot pguyot marked this pull request as ready for review March 22, 2026 20:21
Add new brief jit documentation with information on DWARF support

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
@bettio bettio merged commit d8cccd4 into atomvm:release-0.7 Mar 24, 2026
365 of 409 checks passed
@pguyot pguyot deleted the w41/jit-dwarf branch March 24, 2026 22:12
bettio added a commit that referenced this pull request Mar 30, 2026
Merge fixes, features, and optimizations from release-0.7, including:
- Add signature-driven code loader (#2229)
- Add UART support on generic_unix via POSIX termios NIFs (#2243)
- Add erlang node/1 BIF (#2225)
- Add erts_internal:cmp_term/2 NIF and fix map type ordering (#2226)
- Add short option to float_to_binary/list (#2240)
- Add locale-independent float parsing and fix overflow (#2246)
- JIT: add RISC-V 64-bit backend (#2231)
- JIT: add DWARF debug information support (#1910)
- JIT x86: instruction encoding optimizations (#2234)
- JIT: remove redundant AND when untagging integers (#2235)
- Fix bug in bs_match get_tail handling (#2242)
- Fix binary encoding of int:24 and others (#2230)
- Fix cancel_timer/1 spec and documentation (#2244)
- Resurrect opcodes emitted with no_bs_create_bin (#2245)
- Fix flaky tests related to GitHub DNS Resolver (#2232)
- Add git guide (#2106)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants