Only dump the types we need in the test.
authorZachary Turner <zturner@google.com>
Sun, 30 Sep 2018 00:51:54 +0000 (00:51 +0000)
committerZachary Turner <zturner@google.com>
Sun, 30 Sep 2018 00:51:54 +0000 (00:51 +0000)
We added support for dumping pointers but pointers to arrays
won't correctly dump until we add support for dumping arrays.
Instead of trying to dump everything, which this test isn't
even interested in, just dump enums and typedefs.

llvm-svn: 343398

llvm/test/DebugInfo/PDB/DIA/pdbdump-symbol-format.test

index 4b247da..988a94f 100644 (file)
@@ -4,7 +4,7 @@
 ; RUN: FileCheck --check-prefix=TYPES_FORMAT %s < %t.types
 ; RUN: FileCheck --check-prefix=TYPES_1 %s < %t.types
 ; RUN: FileCheck --check-prefix=TYPES_2 %s < %t.types
-; RUN: llvm-pdbutil pretty -types %p/../Inputs/symbolformat.pdb | FileCheck --check-prefix=TYPES_FORMAT %s
+; RUN: llvm-pdbutil pretty -enums -typedefs %p/../Inputs/symbolformat.pdb | FileCheck --check-prefix=TYPES_FORMAT %s
 ; RUN: llvm-pdbutil pretty -globals %p/../Inputs/symbolformat.pdb | FileCheck --check-prefix=GLOBALS %s
 
 ; The format is func [0x<rva_start>+<prologue_length> - 0x<rva_end>-<epilogue_length>]