HomePhabricator

[DWARFYAML][unittest] Refactor parseDWARFYAML().

Authored by Higuoxing on Jul 8 2020, 8:59 PM.

Description

[DWARFYAML][unittest] Refactor parseDWARFYAML().

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.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D83220

Details

Committed
HiguoxingJul 8 2020, 9:00 PM
Reviewer
jhenderson
Differential Revision
D83220: [DWARFYAML][unittest] Refactor parseDWARFYAML().
Parents
rG371c94fca039: Fix a typo in an error message.
Branches
Unknown
Tags
Unknown