Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LLDB expr evaluation for swift_{binary,test} targets only containing Swift in their srcs #1269

Merged

Conversation

brentleyjones
Copy link
Collaborator

The .swiftmodule resulting from compilation of the target's sources was being ignored (since it cannot be a dependency of anything else), but it needs to be embedded as with any other .swiftmodule in order for LLDB to find it and initialize the AST context properly.

PiperOrigin-RevId: 477544434
(cherry picked from commit c0cdb8b)

brentleyjones referenced this pull request Jun 24, 2024
…ining Swift in their `srcs`.

The `.swiftmodule` resulting from compilation of the target's sources was being ignored (since it cannot be a dependency of anything else), but it needs to be embedded as with any other `.swiftmodule` in order for LLDB to find it and initialize the AST context properly.

PiperOrigin-RevId: 477544434
@brentleyjones brentleyjones enabled auto-merge (rebase) June 24, 2024 14:54
…ining Swift in their `srcs`

The `.swiftmodule` resulting from compilation of the target's sources was being ignored (since it cannot be a dependency of anything else), but it needs to be embedded as with any other `.swiftmodule` in order for LLDB to find it and initialize the AST context properly.

PiperOrigin-RevId: 477544434
(cherry picked from commit c0cdb8b)
Signed-off-by: Brentley Jones <github@brentleyjones.com>
@brentleyjones brentleyjones force-pushed the bj/cp-c0cdb8b5a2100b3962993654f7409b80f3ce96f2 branch from 75fb040 to afff427 Compare June 24, 2024 14:55
@brentleyjones brentleyjones merged commit 46d194e into master Jun 24, 2024
14 checks passed
@brentleyjones brentleyjones deleted the bj/cp-c0cdb8b5a2100b3962993654f7409b80f3ce96f2 branch June 24, 2024 15:02
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