Skip to content

Commit 299cf3c

Browse files
authored
gh-126910: Update 3.15 what's new to include GDB/backtrace integration (#149494)
Update 3.15 what's new to include GDB/backtrace intergration
1 parent 13188db commit 299cf3c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Doc/whatsnew/3.15.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,6 +1903,7 @@ The major upgrades to the JIT are:
19031903
* New tracing frontend
19041904
* Basic register allocation in the JIT
19051905
* More JIT optimizations
1906+
* GDB and GNU ``backtrace()`` unwinding support
19061907
* Better machine code generation
19071908

19081909
.. rubric:: LLVM 21 build-time dependency
@@ -1954,6 +1955,17 @@ reference count updates and perform in-place operations on ints and floats.
19541955
The JIT optimizer now supports significantly more operations than in 3.14.
19551956
(Contributed by Kumar Aditya, Ken Jin, Jiahao Li, and Sacul in :gh:`131798`.)
19561957

1958+
.. rubric:: GDB and GNU ``backtrace()`` unwinding support
1959+
1960+
The JIT compiler now publishes unwind information for generated machine code to the
1961+
GDB interface on supported Linux ELF platforms. When libgcc frame
1962+
registration is available, the same unwind information is also registered for
1963+
GNU ``backtrace()`` stack walkers. This allows native debuggers, crash
1964+
handlers, and diagnostic tools using these mechanisms to unwind through JIT
1965+
frames instead of stopping at generated code.
1966+
(Contributed by Diego Russo and Pablo Galindo Salgado in :gh:`146071` and
1967+
:gh:`149104`.)
1968+
19571969
.. rubric:: Better machine code generation
19581970

19591971
The JIT compiler's machine code generator now produces better machine code

0 commit comments

Comments
 (0)