Uploaded image for project: 'Swift'
  1. Swift
  2. SR-7809

Define layout algorithm for structs

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Compiler
    • Labels:

      Description

      The Swift ABI Dashboard (https://swift.org/abi-stability) currently lists 4 separate issues as part of defining the layout algorithm for structs. I am filing this "umbrella" task to summarize the data layout issues for structs so that we can list only one issue on the dashboard.

      Here are the 4 tasks that we have been tracking:

      https://bugs.swift.org/browse/SR-3723:  Determine if the layout algorithm for structs should layout fields in a different order than declared

      https://bugs.swift.org/browse/SR-3724:  Evaluate a fully declaration-order-agnostic layout algorithm for structs

      https://bugs.swift.org/browse/SR-3725:  Determine if struct data members are addressable or bit-packed

      https://bugs.swift.org/browse/SR-3912:  Decide the cap of alignment for struct layout

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bob-wilson Bob Wilson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: