Commit Graph

184 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
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
f35b4f4460 Merge branch 'dev' into dev2 2025-06-06 21:09:57 -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
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
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
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
9cc63c16fb Merge branch 'dev' into dev2 2025-04-13 19:52:00 -07:00
Daan
951538d469 fix prctl.h includes for alpine linux/musl (hopefully fixes #1065, #1066, #1067) 2025-04-08 13:56:31 -07:00
Daan
130bc77c40 Merge branch 'dev' into dev2 2025-03-31 14:45:06 -07:00
Daan
77b622511a fix alpine compilation with prctl.h (issue #1059) 2025-03-31 14:44:46 -07:00
Daan
1463ead070 Merge branch 'dev' into dev2 2025-03-21 16:57:34 -07:00
Daan
6ed451c555 fix linux compile by including linux/prctl.h 2025-03-21 16:48:50 -07:00
Daan
01ee3568c1 name anonymous mmap address ranges for debugging on Linux (based on PR #1032 by @zhuker) 2025-03-21 16:19:54 -07:00
Daan
2697d55fa5 Merge branch 'dev' into dev2 2025-03-06 20:41:05 -08:00
Daan
783c3ba486 improve QNX support 2025-03-06 20:40:52 -08:00
Timothy Kielan
c8880e1ba0 support building for QNX 2025-02-21 15:16:22 +01:00
Daan
b0c1765ab9 Merge branch 'dev' into dev2 2025-02-20 19:36:48 -08:00
Daan
566ab5038b do not use syscall on android (issue #1015) 2025-02-18 16:02:52 -08:00
Daan
b7779c7770 merge from dev 2025-02-11 16:30:03 -08:00
daanx
ece1defe5b parameter of clz/ctz is size_t 2025-02-11 14:35:21 -08:00
Daan
482d8e1ae7 Merge branch 'dev' into dev2 2025-02-11 09:52:10 -08:00
daanx
d3897635ad fix compilation warning 2025-02-11 09:22:31 -08:00
daanx
0c8069adab use physical memory in kib to avoid overflow of size_t (issue #1010) 2025-02-11 09:18:23 -08:00
daanx
ec4aa62b65 use physical memory in kib to avoid overflow of size_t (issue #1010) 2025-02-11 09:12:29 -08:00
Daan Leijen
f945d35d27 Merge branch 'dev' into dev2 2025-02-08 12:51:34 -08:00
Daan Leijen
5f9b42685e remove declspec(dllexport) from DllMain on Windows (issue #1008) 2025-02-08 12:51:06 -08:00
Daan
90b7a694eb syntax error fix (#992) 2025-01-22 12:29:41 -08:00
Daan
5e71dfc336 check dynamically for getPhysicallyInstalledSystemMemory on windows (issue #992) 2025-01-22 12:03:58 -08:00
Daan
191ea046e4 merge from dev 2025-01-10 09:50:30 -08:00
daanx
4fcf56af2e use consistent naming on Windows vs other platforms. Use mimalloc.dll.lib for the dll import library to avoid a clash with the static mimalloc.lib library 2025-01-09 20:57:08 -08:00
daanx
248d8aad71 Merge branch 'dev' into dev2 2025-01-06 12:08:43 -08:00
Daan Leijen
5764845c4d fix build on msvc in C compilation; fix build with clang-cl on Windows 2025-01-06 10:27:46 -08:00