Documentation

Miri.Interpreter.ThreadTlsMachine

Execute the existing source TLS destructor state machine against canonical machine memory, actual frames, and thread manager. The legacy engine view is transient: every compiler/root-call query restores the latest full state and recaptures it on both outcomes. No persistent memory/clock copy is stored.

structure Miri.Interpreter.ThreadTlsMachine.Hooks (U C O X F A Aff : Type) :
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def Miri.Interpreter.ThreadTlsMachine.onStackEmpty {U C O X F A Aff : Type} (h : Hooks U C O X F A Aff) (choice : C) :

      scheduler.rs run_on_stack_empty: reset origin, take the callback, run its real captured stage, restore it only on success. Errors retain the callback's consumption and all earlier destructor state/frame/memory effects.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For