Category
php-in-php · refs #1492
Problem
ext/standard/JitUnlink.php lowers JIT unlink() through libc unlink(2) LLVM. VM SSOT is VmFs::unlink() (VmFsUnlinkPure, #12194). JIT should compile the same PHP helper, not duplicate libc.
php-src reference
Repro (architectural)
grep "lookupFunction('unlink')" ext/standard/JitUnlink.php
Scope
| Path |
Work |
ext/standard/UnlinkJitHelper.php |
invokeArgv() → VmFs::unlink() + TriggerErrorJitHelper warning |
lib/JIT/Builtin/StringUnlink.php |
Thin ABI __phpc_jit_unlink bridge |
ext/standard/JitUnlink.php |
Thin wrapper like JitChmod.php |
| Tests |
test/unit/UnlinkRuntimeShrinkTest.php |
Done when
Related
#12194 · #15458 · #1492
Category
php-in-php· refs #1492Problem
ext/standard/JitUnlink.phplowers JITunlink()through libcunlink(2)LLVM. VM SSOT isVmFs::unlink()(VmFsUnlinkPure, #12194). JIT should compile the same PHP helper, not duplicate libc.php-src reference
ext/standard/filestat.c—php_unlinkRepro (architectural)
grep "lookupFunction('unlink')" ext/standard/JitUnlink.phpScope
ext/standard/UnlinkJitHelper.phpinvokeArgv()→VmFs::unlink()+TriggerErrorJitHelperwarninglib/JIT/Builtin/StringUnlink.php__phpc_jit_unlinkbridgeext/standard/JitUnlink.phpJitChmod.phptest/unit/UnlinkRuntimeShrinkTest.phpDone when
lookupFunction('unlink')inJitUnlink.phpUnlinkJitHelpermatches VM on temp file unlink./script/ci-fast.sh --filter UnlinkRuntimeShrinkgreenRelated
#12194 · #15458 · #1492