Commit graph

2126 commits

Author SHA1 Message Date
Daan
58f061e552 Merge branch 'dev' into dev2 2025-06-08 16:59:19 -07:00
daanx
99ed3ea754 enable building for xbox, based on pr #1084 by @maxbachmann 2025-06-08 16:41:04 -07:00
Daan
6c3519d7cc
Merge pull request #1057 from Noxybot/fix_recursion_on_android
fix recursion in TLS init on Android
2025-06-08 15:56:53 -07:00
Daan
82cd900834 make macOS interposes compile for older macOS versions (by @noxybot, PR #1028) 2025-06-08 15:54:01 -07:00
Daan
4087acb85a Merge branch 'dev' into dev2 2025-06-07 10:25:06 -07:00
Daan Leijen
c1249a4b15 do not automatically call mi_process_done if mi_option_destroy_on_exit > 1 2025-06-07 10:12:53 -07:00
Daan Leijen
e7cbbbfb14 add mi_process_done to the api 2025-06-07 09:51:35 -07:00
Daan
47c0f90849 Merge branch 'dev' into dev2 2025-06-06 21:31:31 -07:00
Daan
d7d6c3b5c3 fix assertion 2025-06-06 21:22:44 -07:00
Daan
f35b4f4460 Merge branch 'dev' into dev2 2025-06-06 21:09:57 -07:00
Daan
57830a4b25 fix assertion in mi_os_ensure_zero 2025-06-06 21:09:32 -07:00
Daan
2f0540c4f9 add _mi_os_zalloc 2025-06-06 20:50:50 -07:00
Daan
d7431402c5 fall back to MADV_DONTNEED if MADV_FREE_REUSABLE fails on macOS; disable use of MADV_FREE_REUSE on a reset (issue #1097) 2025-06-06 20:15:16 -07:00
Daan
2696627aaf add MI_UNUSED for unix _mi_prim_reuse 2025-06-06 20:07:37 -07:00
Daan
98c2bd2a3d Merge branch 'dev' into dev2 2025-06-06 18:05:41 -07:00
Daan
d389819cc9 add initial support for _mi_prim_reuse and MADV_FREE_REUSABLE on macOS (issue #1097) 2025-06-06 17:59:46 -07:00
Daan
8b761008ce merge from dev 2025-06-06 15:26:44 -07:00
Daan
6c3d75a355 fix base address if commit fails on aligned overallocation 2025-06-06 15:13:43 -07:00
Daan
21425bc334 check all os_commit calls and return NULL on failure 2025-06-06 15:13:43 -07:00
Daan
30a17bf1b7 fix missing csize assignment in _mi_os_free_ex 2025-06-06 15:13:43 -07:00
daanx
715acc0329 mark assert_fail as cold and noreturn; move assert to internal.h (see issue #1091, and python/cpython#134586) 2025-05-30 09:29:35 -07:00
daanx
84c9cddb70 Merge branch 'dev' into dev2 2025-05-28 08:38:01 -07:00
daanx
3e32b4c385 fix OS allocation size tracking in the memid 2025-05-28 08:37:34 -07:00
Daan
a7cecc7e47 Merge branch 'dev' into dev2 2025-05-21 19:20:41 -07:00
Daan
44e370bdaa fix format specifier in stat output 2025-05-21 19:20:31 -07:00
Daan
6cb4861f3e fix format specifier for numa nodes 2025-05-21 17:36:31 -07:00
Daan
cf7fa1cf65 merge from dev 2025-05-21 15:07:22 -07:00
Daan
08c33768a5 fix stats for pages and page_bins 2025-05-21 11:09:34 -07:00
Daan
f81115d980 Merge branch 'dev' into dev2 2025-05-13 17:46:03 -07:00
Daan
15c917ef15 fix syntax error 2025-05-13 17:45:10 -07:00
Daan
45d984d5d2 Merge branch 'dev' into dev2 2025-05-13 17:43:54 -07:00
daanx
41cc1bfe51 add guarded TLS test for Windows fixed TLS 2025-05-13 17:38:16 -07:00
Daan
0ae310327f fix debug assertion for windows TLS 2025-05-13 16:22:08 -07:00
Daan
d87bcd0027 Merge branch 'dev' into dev2 2025-05-13 16:07:04 -07:00
daanx
72f05e2f07 fix guarded sample rate of 1 (issue #1085) 2025-05-13 15:58:45 -07:00
daanx
a6ecb5c299 fix format specifier (for alpine linux x86, issue #1086) 2025-05-13 15:35:29 -07:00
daanx
341149391f fix include of prctl.h on alpine linux x86 2025-05-13 15:33:29 -07:00
daanx
c84d996e88 fix TLS initialization for MI_WIN_USE_FIXED_TLS with redirection 2025-05-05 10:23:52 -07:00
Daan
c3e45a579f Merge branch 'dev' into dev2 2025-05-04 22:19:32 -07:00
daanx
303b196d40 fix MI_WIN_USE_FIXED_TLS conditions 2025-05-04 22:09:56 -07:00
daanx
52b75693c4 use TlsAlloc with a dynamic offset for MI_WIN_USE_FIXED_TLS by default (issue #1078) 2025-05-04 22:03:10 -07:00
Daan
39e16518a3 Merge branch 'dev' into dev2 2025-05-04 19:52:49 -07:00
daanx
9c24c428cb add more decl_hidden specifiers on extern variables to improve access on arm64 2025-05-04 19:51:13 -07:00
daanx
f989a1cbb9 add more decl_hidden specifiers on extern variables to improve access on arm64 2025-05-04 09:10:38 -07:00
daanx
e82e03c3e2 Merge branch 'dev' into dev2 2025-05-02 16:29:12 -07:00
daanx
417e8176bd add unix large page size constant and adjust aligment to the large page size for large allocations 2025-05-02 16:27:00 -07:00
daanx
f3e92b1edd Use second user TLS slot to avoid using reserved fields in the TEB (issue #1078) 2025-05-02 16:12:20 -07:00
daanx
6bfb1c656c allow size==0 for mi_prim_free (issue #1041) 2025-05-02 08:40:21 -07:00
Daan
7ddc64d902 Merge branch 'dev' into dev2 2025-04-13 19:57:01 -07:00
Daan
fae61ed946 fix assertion in mi_free_size (issue #754) 2025-04-13 19:56:49 -07:00