This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Ignore binary data in crashlog
ClosedPublic

Authored by JDevlieghere on Oct 29 2020, 12:00 PM.

Details

Summary

Skip the instruction stream section in the crashlog section.

Diff Detail

Event Timeline

JDevlieghere created this revision.Oct 29 2020, 12:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 29 2020, 12:00 PM
JDevlieghere requested review of this revision.Oct 29 2020, 12:00 PM

Fix indentation that got screwed up when staging only non-whitespace changes.

aprantl accepted this revision.Oct 30 2020, 9:00 AM

Just FYI, we do have unit tests for the crashlog parser now, but I don't know how well this fits in there.

This revision is now accepted and ready to land.Oct 30 2020, 9:00 AM

Just FYI, we do have unit tests for the crashlog parser now, but I don't know how well this fits in there.

I see a test that generates one and that checks some regexes, but no test that parses a text file?

This revision was automatically updated to reflect the committed changes.