]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32280: Store _PyRuntime in a named section (GH-4802) (#27448)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 29 Jul 2021 15:20:58 +0000 (08:20 -0700)
committerGitHub <noreply@github.com>
Thu, 29 Jul 2021 15:20:58 +0000 (16:20 +0100)
commitebba286709bdb9401df8e5eb196b50008d3b09d2
treeb380eb43a0814089c966436909ee0b29fa2380f3
parentd20f1095a6a51ee8f41ef445a009d26256e1fa61
bpo-32280: Store _PyRuntime in a named section (GH-4802) (#27448)

This commit stores the _PyRuntime structure in a section of the same name. This allows a debugging or crash reporting tool to quickly locate this structure at runtime without requiring the symbol table.

Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
(cherry picked from commit 35002aa8f62dda1f79035e9904abdf476683e9be)

Co-authored-by: Max Bélanger <aeromax@gmail.com>
Co-authored-by: Max Bélanger <aeromax@gmail.com>
Python/pylifecycle.c