Skip to content

[lldb] Fix log messages in resolveRemoteAddress #3868

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

kastiglione
Copy link

No description provided.

Copy link

@augusto2112 augusto2112 left a comment

Choose a reason for hiding this comment

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

Whoops! Thanks!

@kastiglione
Copy link
Author

@swift-ci test

@kastiglione
Copy link
Author

@swift-ci test Linux

@kastiglione
Copy link
Author

@swift-ci test

@kastiglione kastiglione changed the title [lldb] Fix log message in resolveRemoteAddress [lldb] Fix log messages in resolveRemoteAddress Feb 2, 2022
@kastiglione
Copy link
Author

@swift-ci test

"[MemoryReader] Could not make a real address out of file "
"address {1:x} and object file {}",
"[MemoryReader] Could not make a real address out of file address "
"{0:x} and object file {}",

Choose a reason for hiding this comment

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

Just tested this, {} will crash, change it to {1}

Copy link
Author

Choose a reason for hiding this comment

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

done

Copy link
Author

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

Weird, maybe it's a bug then? Or maybe if you specify one position you have to specify all of them?

Copy link
Author

@kastiglione kastiglione Feb 2, 2022

Choose a reason for hiding this comment

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

I wondered the same, in any case I'll stick with explicit indexes. None of the unit tests for formatv seem to use {}, so an index must be required.

Copy link
Author

Choose a reason for hiding this comment

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

@kastiglione
Copy link
Author

@swift-ci test

@kastiglione kastiglione merged commit 4cfc5b8 into stable/20211026 Feb 3, 2022
@kastiglione kastiglione deleted the lldb-fix-log-message-in-resolveRemoteAddress branch February 3, 2022 00:36
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