Peter Kokot
7d0e2d8e4d
Add missing memfd_create Autoconf check for bundled pcre2lib ( #13561 )
...
This moves memfd_create (HAVE_MEMFD_CREATE) to configure.ac. Since
ext/pcre is always enabled and check can be done in this case for
ext/pcre and ext/opcache at once.
2024-03-01 17:17:28 +01:00
Máté Kocsis
f2e199e878
Implement "support doc comments for internal classes and functions" ( #13266 )
...
Fixes #13130
2024-02-25 08:41:31 +01:00
Dmitry Stogov
b2b5b0101e
Update IR
...
IR commit: 1164842ac28ba141c604c6fae8ec960f9aec369b
2024-02-22 00:24:20 +03:00
Dmitry Stogov
793ddc7c8a
Update IR
...
IR commit: 0b557c0e4578cbfdbf8017f4adac335d795156dc
2024-02-21 23:36:52 +03:00
Peter Kokot
e72f0c887b
Simplify prctl and procctl Autoconf checks ( #13450 )
...
The AC_CHECK_FUNCS checks whether the linker sees the function in the
usual libraries, in this case libc. This is a simple trick to also check
existence of belonging headers, since the code uses HAVE_PRCTL and
HAVE_PROCCTL to include headers and call functions.
2024-02-21 09:04:37 +01:00
Dmitry Stogov
f5efaa39fa
Update IR
...
IR commit: 873f13dd933acc38ba4cfe2a4aa8558867992a7e
2024-02-21 01:48:38 +03:00
Dmitry Stogov
23aac16d13
Update IR
...
IR commit: 67477a78251aafe35515eb7a339e309a0e0d4919
2024-02-21 01:13:31 +03:00
Dmitry Stogov
e3683ea479
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Prevent recording traces started from usupported VM instruction
2024-02-19 13:23:14 +03:00
Dmitry Stogov
00259952e4
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Prevent recording traces started from usupported VM instruction
2024-02-19 13:23:05 +03:00
Dmitry Stogov
728b81d92e
Prevent recording traces started from usupported VM instruction
2024-02-19 13:22:30 +03:00
Máté Kocsis
10957e498c
Do not generate frameless info items when func info generation is disabled
...
While here, I fixed newlines around arginfo and function entry generation. Previously, newlines were repeated.
2024-02-18 11:39:00 +01:00
Ilija Tovilo
9f1b43f508
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Disable JIT on Apple Silicon + ZTS
2024-02-18 00:08:52 +01:00
Ilija Tovilo
f057d2b138
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Disable JIT on Apple Silicon + ZTS
2024-02-18 00:08:42 +01:00
Ilija Tovilo
6db95512b4
Disable JIT on Apple Silicon + ZTS
...
Apple Silicon has stricter rules about rwx mmap regions. They need to be created
using the MAP_JIT flag. However, the MAP_JIT seems to be incompatible with
MAP_SHARED. ZTS requires MAP_SHARED so that some threads may execute code from a
page while another writes/appends to it. We did not find another solution, other
than completely disabling JIT for Apple Silicon + ZTS.
See discussion in https://github.com/php/php-src/pull/13351 .
Co-authored-by: Peter Kokot <peterkokot@gmail.com >
Fixes GH-13400
Closes GH-13396
2024-02-18 00:07:46 +01:00
Dmitry Stogov
1f7cba2fec
Update IR
...
IR commit: 89989794a25ac43778398545b32d030dddc0e8b1
2024-02-16 01:00:46 +03:00
Dmitry Stogov
ce96aa9188
Update IR
...
IR commit: f7c0ddb1b4630e1287b0239f85d64a6965dfea29
2024-02-14 23:57:22 +03:00
Máté Kocsis
844c1ac962
Add missing --EXTENSIONS-- section from frameless function inference test
2024-02-13 22:54:21 +01:00
Michael Voříšek
87edeed3b9
Remove UNEXPECTED from typed prop checks
...
Closes GH-13143
2024-02-12 11:35:43 +01:00
Dmitry Stogov
2289af889c
Update IR
...
IR commit: ab6ebce1cc25f7d2c634bd13af043f76d6ef524e
2024-02-12 12:24:48 +03:00
Dmitry Stogov
a3620cd6e7
Update IR
...
IR commit: d2ab283e3c3bb4b5ba21701a4d18f14fd9b3d798
2024-02-12 09:36:33 +03:00
Dmitry Stogov
71cccc0bcc
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix TLS access in JIT with MUSL (#13329 )
2024-02-12 08:16:46 +03:00
Dmitry Stogov
667b08c953
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix TLS access in JIT with MUSL (#13329 )
2024-02-12 08:14:08 +03:00
Dmitry Stogov
94ba883e19
Fix TLS access in JIT with MUSL ( #13329 )
2024-02-12 08:13:23 +03:00
Ilija Tovilo
49ebfb04ef
Fix JMP_FRAMELESS with ZEND_USE_ABS_JMP_ADDR
...
which is used on 32-bit machines.
2024-02-07 15:50:38 +01:00
Ilija Tovilo
97e6c54336
Fix RC inference narrowing for ASSIGN_OBJ
...
Fixes oss-fuzz #66519
Closes GH-13345
2024-02-07 13:03:14 +01:00
Ilija Tovilo
631bc81607
Implement stackless internal function calls
...
Co-authored-by: Dmitry Stogov <dmitry@zend.com >
Closes GH-12461
2024-02-06 17:42:28 +01:00
Ilija Tovilo
f8c9928e6f
Fix tests with explicit opcache.log_verbosity_level setting
2024-02-05 15:00:32 +01:00
David CARLIER
b8f10decb3
ZEND_ELEMENT_COUNT usage reduction. ( #13324 )
...
clang 18 is going to be released and in the meantime the counted_by
attribute usage had been constrained to true flexible arrays,
typical cases such as type name[1] ZEND_ELEMENT_COUNT(size) no longer
build.
2024-02-04 19:09:15 +00:00
Dmitry Stogov
cea64f7aa3
Update IR
...
IR commit: dfa54b88f929606908502f70b23964a7b388b1ab
2024-02-02 09:15:57 +03:00
Dmitry Stogov
2bf9f7eb19
Fix compilation warning
2024-02-01 12:45:41 +03:00
Dmitry Stogov
cc5a39458c
Update IR
...
IR commit: 553af9c2263c873ac1d01aa49925a4713122e8b4
2024-02-01 00:14:24 +03:00
Dmitry Stogov
c50255c626
Update IR
...
IR commit: 682cc0ca6761164dbcd791e5f56283f8e88537d2
Fixes GH-13286
2024-01-31 22:20:10 +03:00
Dmitry Stogov
765382eeea
Update IR
...
IR commit: 2ea3215ebd15a1fa332b8b6118df2bc51a60d81c
Fixes two recently introduced bugs caught by PHP nightly workwlow
https://github.com/php/php-src/actions/runs/7662701964/job/20884387539
2024-01-26 07:32:34 +03:00
Dmitry Stogov
90bab1e732
Update IR
...
IR commit: 87bf12844ea0e36151b3a172dce28b55b5ae1503
Fixes ext/opcache/tests/jit/bug81225_2.phpt failure
2024-01-25 23:31:55 +03:00
Dmitry Stogov
136a972ccb
Update IR
...
IR commit: 0108cdf808d1e7dd6b702738949e095151f49040
2024-01-25 22:50:30 +03:00
Niels Dossche
e2c3c48307
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix GH-13232: Segmentation fault will be reported when JIT is off but JIT_debug is still on
2024-01-24 17:49:05 +01:00
Niels Dossche
31e8cea1d6
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-13232: Segmentation fault will be reported when JIT is off but JIT_debug is still on
2024-01-24 17:48:57 +01:00
Niels Dossche
d417072ebe
Fix GH-13232: Segmentation fault will be reported when JIT is off but JIT_debug is still on
...
Closes GH-13234.
2024-01-24 17:47:40 +01:00
Ilija Tovilo
ea8d143a59
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
[skip ci] Fix 64-bit only test
2024-01-23 17:33:17 +01:00
Ilija Tovilo
1c1d785c4f
[skip ci] Fix 64-bit only test
2024-01-23 17:32:59 +01:00
Dmitry Stogov
0becd4856d
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-12481: PHP crash with JIT enabled
2024-01-22 15:57:01 +03:00
Dmitry Stogov
f120ac93a1
Fix GH-12481: PHP crash with JIT enabled
2024-01-22 15:56:12 +03:00
Niels Dossche
fe064d7f12
Fix GH-13142: Undefined variable name is shortened when contains \0
...
Uses the new %S formatter and introduces the necessary changes and
helpers.
2024-01-20 23:49:13 +01:00
Dmitry Stogov
2bacd4e110
Update IR
...
IR commit: 34aeda97a5febe81fb53a679800f8c6cd802c847
2024-01-17 13:51:59 +03:00
Daniil Gentili
c16ad918ba
Change default method of disabling JIT
...
https://wiki.php.net/rfc/jit_config_defaults
Closes GH-12678
2024-01-15 09:39:13 +01:00
Peter Kokot
8d7364f0bb
Align configure check message results together
2024-01-11 00:02:28 +01:00
Dmitry Stogov
52cc17c665
New test
2024-01-10 17:39:34 +03:00
Dmitry Stogov
d9dfad8ea9
Update IR
...
IR commit: a6cfbffb0da4e11c45537dd83159c36eece6efa9
2024-01-10 17:38:48 +03:00
Peter Kokot
6aad7a07bb
Fix DragonFly build ( #13085 )
...
On DragonFly by default the BSD make is used with the CSH shell and the
first prerequisite variable `$<` in Makefile doesn't work there. So, we
can simplify this by simply repeating the filename here.
2024-01-08 23:32:30 +01:00
Ilija Tovilo
37d5bee1dc
Fix \e escape character on Windows
...
\e is not part of the C standard.
Closes GH-13058
2023-12-31 14:27:12 +01:00