Skip to content

[SR-3723] Determine if the layout algorithm for structs should layout fields in a different order than declared #46308

Open
@ematejska

Description

@ematejska
mannequin
Previous ID SR-3723
Radar rdar://problem/31411220
Original Reporter @ematejska
Type Sub-task
Additional Detail from JIRA
Votes 0
Component/s
Labels Sub-task, AffectsABI
Assignee None
Priority Medium

md5: a416a15ebb462bf1f07d78415242bde1

Parent-Task:

  • SR-7809 Define layout algorithm for structs

is duplicated by:

  • SR-3724 Evaluate a fully declaration-order-agnostic layout algorithm for structs

Issue Description:

The layout algorithm for structs should result in an efficient use of space, possibly by laying out fields in a different order than declared. This needs to be figured out ahead of ABI stability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions