Repository navigation
Conversation
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Preserve native storage through definitions such as:
Extend #2931's provenance foundation (original authored commit retained) with aggregate source layouts, LLVM-based reflected offsets/pointer prefixes, compatible typed-pointer/callback ABI checks, and versioned package representation metadata. Cover private origins, aliases, generic instances, HostLayout, SIMD storage, and memory32 native slots. Native arrays keep backing storage and indexed element slots consistent. Ordinary Go functions retain their calling convention.
Draft for the remaining #2927 migration: owner-aware source queries for native overrides, function-field address escapes, automatic array repacking between different layouts, and callback reflection/FFI still need work; see
doc/design/native-representation.md. This does not close #2872 or all cases in #2873.Validation: official Go, native LLGo O0/O3 full-LTO, and W32/J32/J64 execution pass. Full SSA/ABI/frontcache, CL
-short, andinternal/build -short(855s) suites pass with matching LLVM 22, plus target-layout, race, and cold/hot/cross-process cache checks.