Skip to content

[lldb] Fix swift debugging with swift-extra-clang-flags #10620

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

Merged

Conversation

cachemeifyoucan
Copy link

When the ClangImporter in SwiftASTContext is setup with DirectCC1, it wasn't working with swift-extra-clang-flags because that will trigger the non DirectCC1 code path only. Make the option working with DirectCC1 mode by directly appending the flag.

rdar://150238095

@cachemeifyoucan cachemeifyoucan requested a review from a team as a code owner May 5, 2025 16:18
@cachemeifyoucan
Copy link
Author

@swift-ci please test

1 similar comment
@cachemeifyoucan
Copy link
Author

@swift-ci please test

Copy link

@adrian-prantl adrian-prantl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rebase this on swift/release/6.2? It will automerge here.

@cachemeifyoucan
Copy link
Author

Can you rebase this on swift/release/6.2? It will automerge here.

I will rebase. Is the LLDB process still fix on release branch and cherry-pick to next?

When the ClangImporter in SwiftASTContext is setup with DirectCC1, it
wasn't working with `swift-extra-clang-flags` because that will trigger
the non DirectCC1 code path only. Make the option working with DirectCC1
mode by directly appending the flag.

rdar://150238095
@cachemeifyoucan cachemeifyoucan changed the base branch from stable/20240723 to swift/release/6.2 May 6, 2025 00:02
@cachemeifyoucan
Copy link
Author

@swift-ci please test

@cachemeifyoucan
Copy link
Author

@swift-ci please test windows platform

@adrian-prantl adrian-prantl merged commit 815013b into swiftlang:swift/release/6.2 May 7, 2025
3 checks passed
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.

2 participants