llvm-dwarfdump: Refactor type pretty printing tests
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 19 Sep 2021 16:24:25 +0000 (09:24 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 19 Sep 2021 16:30:38 +0000 (09:30 -0700)
commit2ca637c9769ff50e94ace3083075a97b50d147f0
tree8fa247ce5f2e5343850b269d6d7f1d2e3f9d99d0
parentcf8fac7d07307bc6679d60c3ad3e7a7792a2caa6
llvm-dwarfdump: Refactor type pretty printing tests

Move most type tests to a pre-generated assembly file to make it easier
to add more weird cases without having to hand craft more DWARF.

Move the novel array types that aren't reachable via clang-generated
DWARF to a separate file for easy maintenance.
llvm/test/tools/llvm-dwarfdump/X86/prettyprint_types.s
llvm/test/tools/llvm-dwarfdump/X86/prettyprint_types_handcrafted.s [new file with mode: 0644]