Skip to content

Conversation

@elinor-fung
Copy link
Member

Depends on #120777. (First commit is a merge from that PR)

Add the basic runtime flow for calling into the host to get information about a platform-native R2R - see ReadyToRun Platform Native Envelope.

  • Add get_native_code_data callback to host_runtime_contract
  • If a component R2R assembly has READYTORUN_FLAG_PLATFORM_NATIVE_IMAGE, invoke the callback to get the R2R header, image size, and image base address
  • Currently only implemented and tested on Windows (with local changes to include the flag)
  • Mach-O support will need Add support for emitting Mach-O R2R images #121186

Contributes to #120065.

@jkoritzinsky
Copy link
Member

cc: @adamperlin

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants