1 ; RUN: llvm-pdbdump %p/Inputs/empty.pdb | FileCheck %s -check-prefix=NO_ARGS
2 ; RUN: llvm-pdbdump -types %p/Inputs/empty.pdb | FileCheck %s -check-prefix=TYPES
3 ; RUN: llvm-pdbdump -compilands %p/Inputs/empty.pdb | FileCheck %s -check-prefix=COMPILANDS
4 ; RUN: llvm-pdbdump -types -compilands %p/Inputs/empty.pdb | FileCheck %s -check-prefix=BOTH
6 ; Check that neither symbols nor compilands are dumped when neither argument specified.
8 ; NO_ARGS: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
9 ; NO_ARGS: Attributes: HasPrivateSymbols
10 ; NO_ARGS-NOT: Dumping compilands
11 ; NO_ARGS-NOT: Dumping symbols
13 ; Check that only symbols are dumped when only -types is specified.
15 ; TYPES: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
16 ; TYPES: Attributes: HasPrivateSymbols
17 ; TYPES: Dumping types
18 ; TYPES-NOT: Dumping compilands
20 ; Check that only compilands are dumped when only -compilands is specified.
21 ; COMPILANDS: empty.pdb
22 ; COMPILANDS: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
23 ; COMPILANDS: Attributes: HasPrivateSymbols
24 ; COMPILANDS-NOT: Dumping types
25 ; COMPILANDS: Dumping compilands
27 ; Check that types and compilands are dumped when both arguments are specified.
29 ; BOTH: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
30 ; BOTH: Attributes: HasPrivateSymbols
32 ; BOTH: Dumping compilands