Skip to content

[lldb] Only use Swift remark diagnostics for logging (#8371) #8404

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

Conversation

kastiglione
Copy link

In handleDiagnostics, early exit from all Swift remarks. Remark diagnostics should
not be handled as warnings/errors.

At most, lldb should use remark diagnostics for logging, or progress events.

By setting EnableModuleLoadingRemarks to true
(#7857) there are remarks other than
module_loaded that are emitted. These other remarks should be ignored in
handleDiagnostics.

rdar://121611925

(cherry-picked from commit b7ab938)

In `handleDiagnostics`, early exit from all Swift remarks. Remark diagnostics should 
not be handled as warnings/errors.

At most, lldb should use remark diagnostics for logging, or progress events.

By setting `EnableModuleLoadingRemarks` to true 
(#7857) there are remarks other than 
`module_loaded` that are emitted. These other remarks should be ignored in 
`handleDiagnostics`.

rdar://121611925

(cherry-picked from commit b7ab938)
@kastiglione kastiglione merged commit 7409d6f into next Mar 14, 2024
@kastiglione kastiglione deleted the dl/next/lldb-Only-use-Swift-remark-diagnostics-for-logging-8371 branch March 14, 2024 19:15
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