Skip to content

Self-host M3 Batch A: Runtime bootstrap real lowering for runtime-compile smoke #2516

Description

@PurHur

Problem

M3 emit-TU execution (#2442) and the runtime-compile smoke path both depend on real Runtime bootstrap lowering (ctor/initVmContext/loadJit/parse/compile entry). Today this area is still partially stubbed/denied behind the M3 allowlist tracker (#1768) and can still trip Zend fallback or startup crashes when exercised by emit-TU helpers.

This issue scopes Batch A (Runtime bootstrap) as a gate-driven slice so M3 can move from emit_path=zend partial toward emit_path=native.

Gate / repro

Harness-safe Docker (LLVM 9):

./script/docker-exec.sh -- bash -lc '
  source script/php-env.sh
  script/apply-patches.sh
  BOOTSTRAP_M3_RUNTIME_COMPILE=1 make bootstrap-selfhost-runtime-compile-smoke
'

Scope (files / symbols)

Done when

Links / dependencies

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions