Skip to content

[LLDB] Fix "Data" Dataformatter - #13564

Open
adrian-prantl wants to merge 2 commits into
swiftlang:swift/release/6.4.xfrom
adrian-prantl:182785830
Open

[LLDB] Fix "Data" Dataformatter#13564
adrian-prantl wants to merge 2 commits into
swiftlang:swift/release/6.4.xfrom
adrian-prantl:182785830

Conversation

@adrian-prantl

Copy link
Copy Markdown

This patch fixes two bugs in the Data dataformatter:

  1. tighten up the check for the FoundationEssentials layout which
    occasionally produces false positives in CI (addressed by also
    checking the size of the _slice field)

  2. while implementing the above I noticed the formatter hardcodes the
    size of Int to 64 bits (addressed by using pointer size)

  3. revert the relaxation of the Data tests to work around issue (1)

rdar://182785830

Assisted-by: claude

@adrian-prantl

Copy link
Copy Markdown
Author

@swift-ci test

@adrian-prantl

Copy link
Copy Markdown
Author

@swift-ci test windows

@adrian-prantl

Copy link
Copy Markdown
Author

@swift-ci test windows

This patch fixes two bugs in the Data dataformatter:

1. tighten up the check for the FoundationEssentials layout which
   occasionally produces false positives in CI (addressed by also
   checking the size of the _slice field)

2. while implementing the above I noticed the formatter hardcodes the
   size of Int to 64 bits (addressed by using pointer size)

3. revert the relaxation of the Data tests to work around issue (1)

rdar://182785830

Assisted-by: claude
@adrian-prantl

Copy link
Copy Markdown
Author

@swift-ci test

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants