This is an archive of the discontinued LLVM Phabricator instance.

[DWARFYAML][unittest] Refactor parseDWARFYAML().
ClosedPublic

Authored by Higuoxing on Jul 6 2020, 5:59 AM.

Details

Summary

In this change, parseDWARFYAML() is refactored to be able to parse
YAML decription into different data structures. We don't have to craft
the whole DWARF structure for a small test in the future.

Diff Detail

Event Timeline

Higuoxing created this revision.Jul 6 2020, 5:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2020, 5:59 AM
jhenderson accepted this revision.Jul 7 2020, 2:29 AM

Makes sense. LGTM.

This revision is now accepted and ready to land.Jul 7 2020, 2:29 AM
This revision was automatically updated to reflect the committed changes.