cpython/Python
Pablo Galindo Salgado e243e46142
[3.15] gh-128883: Store ELF perf trampoline templates in read-only data (GH-160366) (#160490)
CPython copies the trampoline templates into executable memory. Keep the
ELF source in .rodata so BOLT preserves its bytes and boundaries.
(cherry picked from commit 1ff83ad7ad)

Co-authored-by: Zanie Blue <contact@zanie.dev>
2026-10-23 21:01:06 +00:00
..
clinic [3.15] gh-142349: Simplify lazy import resolution (GH-158282) (#158569) 2026-10-01 16:56:39 +00:00
frozen_modules
_contextvars.c
_warnings.c [3.15] gh-159739: Fix reference and error handling in warnings (GH-159758) (#160022) 2026-10-21 11:55:12 -07:00
asdl.c
asm_trampoline.S [3.15] gh-128883: Store ELF perf trampoline templates in read-only data (GH-160366) (#160490) 2026-10-23 21:01:06 +00:00
asm_trampoline_aarch64.h
assemble.c
ast.c [3.15] gh-152708: Fix AST generation asymmetry for unary positive in match statements (GH-152712) (#158079) 2026-09-24 23:51:39 +01:00
ast_preprocess.c [3.15] gh-152708: Fix AST generation asymmetry for unary positive in match statements (GH-152712) (#158079) 2026-09-24 23:51:39 +01:00
ast_unparse.c
bltinmodule.c [3.15] gh-152132: Test Py_CompileString() in test_capi.test_run (GH-153470) (#153472) 2026-07-10 02:07:38 +00:00
bootstrap_hash.c
brc.c [3.15] gh-157838: Merge biased refcounts on behalf of detached threads (#157839) (#158011) 2026-09-29 10:13:34 +03:00
bytecodes.c [3.15] gh-151818: Fix double-free in _CALL_LIST_APPEND on allocation failure (GH-151826) (#160200) 2026-10-22 06:23:06 -07:00
ceval.c [3.15] Fix unchecked NULL returns in several C modules (GH-160213) (#160262) 2026-10-22 21:38:32 +01:00
ceval.h
ceval_gil.c
ceval_macros.h [3.15] gh-129752: Don't update adaptive counters when TLBC=0 in free-threading. (gh-155497) (#155647) 2026-08-26 14:52:45 +09:00
codecs.c [3.15] gh-159739: Hold the codec registry lock while unregistering (GH-160168) (#160292) 2026-10-22 15:26:02 -07:00
codegen.c [3.15] gh-143493: fix cleanup on errors in codegen_comprehension (GH-156374) (GH-156962) 2026-10-13 11:51:33 +02:00
compile.c [3.15] gh-156459: Fix cleanup on error in compiler_set_qualname (GH-156462) (GH-156574) 2026-10-10 13:58:08 +03:00
condvar.h
config_common.h
context.c [3.15] gh-159739: Preserve ContextVar cache updates from finalizers (GH-160197) (#160330) 2026-10-22 15:22:23 -07:00
critical_section.c
crossinterp.c [3.15] Fix unchecked NULL returns in several C modules (GH-160213) (#160262) 2026-10-22 21:38:32 +01:00
crossinterp_data_lookup.h
crossinterp_exceptions.h
dtoa.c [3.15] gh-158446: Reject float format precision near INT_MAX (GH-158474) (#158476) 2026-09-30 11:18:45 +03:00
dup2.c
dynamic_annotations.c
dynload_hpux.c
dynload_shlib.c [3.15] gh-122931: Allow stable abi3 API extensions to include a multiarch tuple in the filename (GH-152461) (GH-154772) 2026-07-29 10:21:30 +02:00
dynload_stub.c
dynload_win.c
emscripten_signal.c
emscripten_syscalls.c
emscripten_trampoline.c
emscripten_trampoline_inner.c
errors.c [3.15] gh-156204: Guard recursion in PyErr_GivenExceptionMatches (GH-156205) (GH-158622) 2026-10-11 07:20:28 +00:00
executor_cases.c.h [3.15] gh-151818: Fix double-free in _CALL_LIST_APPEND on allocation failure (GH-151826) (#160200) 2026-10-22 06:23:06 -07:00
fileutils.c [3.15] gh-158893: Make os.strerror() thread-safe (#159120) 2026-10-10 22:08:49 +02:00
flowgraph.c [3.15] gh-130279: Fix missing exception handlers for jumps in loops (GH-159460) (#159698) 2026-10-19 08:43:26 +00:00
frame.c
frozen.c [3.15] gh-148750: Unfreeze encodings module to avoid import errors with zipped stdlib (GH-156183) (#156328) 2026-08-27 13:51:03 +03:00
frozenmain.c
future.c
gc.c [3.15] Restore deferred backports for 3.15.1, including GH-158874 (#158882) 2026-10-11 15:42:59 +01:00
gc_free_threading.c [3.15] gh-159111: Update vendored mimalloc to v2.5.2 (gh-159112) (gh-160178) 2026-10-22 09:55:05 -07:00
gc_gil.c
generated_cases.c.h [3.15] gh-151818: Fix double-free in _CALL_LIST_APPEND on allocation failure (GH-151826) (#160200) 2026-10-22 06:23:06 -07:00
getargs.c
getcompiler.c
getcopyright.c
getopt.c
getplatform.c
getversion.c
hamt.c [3.15] gh-155515: Use GC tracking for HAMT iterators (GH-155517) (#155697) 2026-08-17 03:58:10 +00:00
hashtable.c
import.c [3.15] gh-157384: Set package context in PyImport_CreateModuleFromInitfunc() (GH-157387) (GH-159316) 2026-10-14 13:49:31 +02:00
importdl.c
index_pool.c
initconfig.c [3.15] gh-159739: Release replaced PyInitConfig strings (GH-159769) (#159809) 2026-10-20 00:18:08 +00:00
instruction_sequence.c
instrumentation.c [3.15] gh-158121: Preserve instruction events when line monitoring is disabled (GH-158456) (#159733) 2026-10-19 19:47:56 +00:00
interpconfig.c [3.15] gh-159739: Handle interpreter configuration encoding errors (GH-159747) (#159843) 2026-10-20 11:12:17 -07:00
intrinsics.c
jit.c
jit_publish.c
jit_unwind.c
legacy_tracing.c
lock.c [3.15] gh-158973: Reset the warnings lock after fork in the child (gh-158974) (gh-159614) 2026-10-19 14:54:15 -07:00
marshal.c [3.15] gh-159111: Update vendored mimalloc to v2.5.2 (gh-159112) (gh-160178) 2026-10-22 09:55:05 -07:00
modsupport.c
mysnprintf.c
mystrtoul.c
object_stack.c
opcode_targets.h
optimizer.c [3.15] Backport GH-148874: Make sure that mngr.__exit__() is always called in a with statement (GH-150911) (GH-154830) 2026-08-03 16:23:34 +01:00
optimizer_analysis.c
optimizer_bytecodes.c [3.15] gh-157468: Validate correct builtins used under JIT (GH-157766) (GH-159048) 2026-10-12 16:31:15 +02:00
optimizer_cases.c.h [3.15] gh-157468: Validate correct builtins used under JIT (GH-157766) (GH-159048) 2026-10-12 16:31:15 +02:00
optimizer_symbols.c [3.15] gh-157468: Validate correct builtins used under JIT (GH-157766) (GH-159048) 2026-10-12 16:31:15 +02:00
parking_lot.c
pathconfig.c
perf_jit_trampoline.c [3.15] gh-156114: Fix crash in perf trampoline with unencodable code names (GH-156300) (#157773) 2026-09-18 21:37:15 +00:00
perf_trampoline.c [3.15] gh-156114: Fix crash in perf trampoline with unencodable code names (GH-156300) (#157773) 2026-09-18 21:37:15 +00:00
preconfig.c
pyarena.c
pyctype.c
pyfpe.c
pyhash.c
pylifecycle.c [3.15] gh-154822: Fix racy assertion during finalization (GH-154824) (GH-154828) 2026-07-28 16:39:33 +00:00
pymath.c
pystate.c [3.15] gh-159111: Update vendored mimalloc to v2.5.2 (gh-159112) (gh-160178) 2026-10-22 09:55:05 -07:00
pystats.c
pystrcmp.c
pystrhex.c
pystrtod.c [3.15] gh-158446: Reject float format precision near INT_MAX (GH-158474) (#158476) 2026-09-30 11:18:45 +03:00
Python-ast.c [3.15] gh-156909: Fix AST.__repr__ call getting the _fields attribute (GH-157490) (GH-157596) 2026-10-12 14:08:25 +02:00
Python-tokenize.c
pythonrun.c [3.15] gh-152132: Test Py_CompileString() in test_capi.test_run (GH-153470) (#153472) 2026-07-10 02:07:38 +00:00
pytime.c
qsbr.c
README
record_functions.c.h
remote_debug.h [3.15] Restore deferred backports for 3.15.1, including GH-158874 (#158882) 2026-10-11 15:42:59 +01:00
remote_debugging.c
slots.c
slots.toml
slots_generated.c
specialize.c [3.15] gh-152075: Avoid lock contention in _Py_Specialize_LoadGlobal under free threading (gh-153720) (#158905) 2026-10-10 16:03:02 +05:30
stackrefs.c
stdlib_module_names.h
structmember.c
suggestions.c
symtable.c [3.15] gh-160299: Preserve references from inlined comprehensions (GH-156819) (#160413) 2026-10-23 10:41:48 -07:00
sysmodule.c [3.15] gh-157247: Block perf trampoline activation when the main interpreter's JIT is enabled (GH-157258) (#157324) 2026-09-23 01:11:38 +01:00
thread.c
thread_nt.h [3.15] gh-134745: Remove dead code in thread_nt.h left by gh-134747 (GH-154338) (#154655) 2026-07-24 23:01:47 +00:00
thread_pthread.h [3.15] gh-157415: Fix data race in pthread wrapper (#157430) (#159277) 2026-10-12 23:32:24 +00:00
thread_pthread_stubs.h
tier2_engine.md Docs: fix spelling of the word 'transferring' (#116641) 2024-03-13 23:53:32 +01:00
traceback.c [3.15] gh-113318: Fix @getter and @setter in Argument Clinic (GH-155778) (GH-156010) 2026-10-09 20:54:35 +03:00
tracemalloc.c [3.15] gh-155725: Remove PyGILState_Ensure usage from tracemalloc (GH-156409) (#156628) 2026-08-31 09:53:56 +03:00
uniqueid.c
vm-state.md

Miscellaneous source files for the main Python shared library