Skip to content

[lldb][Format] Fall back to old function.name-with-args if language frame format is emtpy #10982

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

Open
wants to merge 1 commit into
base: swift/release/6.2
Choose a base branch
from

Conversation

Michael137
Copy link

There is currently no way to prevent ${function.name-with-args} from using the plugin.cplusplus.display.function-name-format setting. Even if the setting is set to an empty string. As a way to disable formatting by language plugin, this patch makes it so plugin.cplusplus.display.function-name-format falls back to the old way of printing ${function.name-with-args}. Even if we didn't want to add a fallback, making the setting an empty string shouldn't really "succeed".

Cherry-picked from llvm#148235

…rame format is emtpy

There is currently no way to prevent `${function.name-with-args}` from using the `plugin.cplusplus.display.function-name-format` setting. Even if the setting is set to an empty string. As a way to disable formatting by language plugin, this patch makes it so `plugin.cplusplus.display.function-name-format` falls back to the old way of printing `${function.name-with-args}`. Even if we didn't want to add a fallback, making the setting an empty string shouldn't really "succeed".

Cherry-picked from llvm#148235
@Michael137 Michael137 requested a review from a team as a code owner July 11, 2025 16:06
@Michael137
Copy link
Author

@swift-ci test

@Michael137
Copy link
Author

@swift-ci test Windows

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