Skip to content

Cherry pick recent commits into 6.4#12935

Open
augusto2112 wants to merge 4 commits into
swiftlang:swift/release/6.4.xfrom
augusto2112:cherry-pick-stable-21-to-6.4.x
Open

Cherry pick recent commits into 6.4#12935
augusto2112 wants to merge 4 commits into
swiftlang:swift/release/6.4.xfrom
augusto2112:cherry-pick-stable-21-to-6.4.x

Conversation

@augusto2112
Copy link
Copy Markdown

No description provided.

…lvm#172055)

The current behavior will pick the first symbol that contains the
address, this causes LLDB to pick the wrong symbol when looking for
swift reflection metadata on Linux, as in that case it is valid for a
symbol to completely encompass another one.

Instead, this function should prefer the symbol which is an exact, if it
exists. As a bonus, this should also be faster in the vast majority of
the cases, as we probably query symbols by their exact address most of
the time.

rdar://166344740
(cherry picked from commit 2085534)
(cherry picked from commit 2e841d3)
We were only matching on top protocol types, like "any Sendable" or "any
Sendable & Foo", but  if the protocol type is not the top type, like
Sendable?, we would fail to strip the marker protocol.

Assisted-by: claude

rdar://175984696
(cherry picked from commit 610897b)
Assisted-by: Claude

rdar://175381960
(cherry picked from commit 22bc037)
@augusto2112 augusto2112 requested a review from a team as a code owner May 8, 2026 22:20
@augusto2112
Copy link
Copy Markdown
Author

@swift-ci test

@augusto2112 augusto2112 force-pushed the cherry-pick-stable-21-to-6.4.x branch from 4652653 to 8b6ea8e Compare May 12, 2026 23:30
@augusto2112
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.

1 participant