-
Notifications
You must be signed in to change notification settings - Fork 184
quick-xml demangling #424
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
base: main
Are you sure you want to change the base?
quick-xml demangling #424
Conversation
djc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's some early feedback. I'll likely have more when this is addressed.
| } | ||
| } | ||
|
|
||
| fn demangle_stream<R: BufRead, W: Write>(input: &mut R, output: &mut W) -> std::io::Result<()> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should only do this on macOS when the xctrace backend is used.
| Ok(()) | ||
| } | ||
|
|
||
| fn demangle_element( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: inline this function.
| Ok(new_element) | ||
| } | ||
|
|
||
| fn demangle_attribute(attribute: &mut quick_xml::events::attributes::Attribute) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: inline this function.
|
I have made the revisions cjgatto#1 according to the feedback. I hope this issue can be fixed quickly. |
Encountered same "invalid xml from xctrace" detailed at #421
Stole the fix f82bc92