Skip to content

Conversation

@cjgatto
Copy link

@cjgatto cjgatto commented Jan 3, 2026

Encountered same "invalid xml from xctrace" detailed at #421

Stole the fix f82bc92

Copy link
Contributor

@djc djc left a 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<()> {
Copy link
Contributor

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(
Copy link
Contributor

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) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: inline this function.

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