1 ; RUN: llvm-pdbutil pretty %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=NO_ARGS
2 ; RUN: llvm-pdbutil pretty -types %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=TYPES
3 ; RUN: llvm-pdbutil pretty -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=COMPILANDS
4 ; RUN: llvm-pdbutil pretty -types -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=MULTIPLE
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: ---TYPES---
11 ; NO_ARGS-NOT: ---COMPILANDS---
12 ; NO_ARGS-NOT: ---GLOBALS---
13 ; NO_ARGS-NOT: ---SYMBOLS---
15 ; Check that only types are dumped when only -types is specified.
17 ; TYPES: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
18 ; TYPES: Attributes: HasPrivateSymbols
20 ; TYPES-NOT: ---COMPILANDS---
21 ; TYPES-NOT: ---GLOBALS---
22 ; TYPES-NOT: ---SYMBOLS---
24 ; Check that only compilands are dumped when only -compilands is specified.
25 ; COMPILANDS: empty.pdb
26 ; COMPILANDS: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
27 ; COMPILANDS: Attributes: HasPrivateSymbols
28 ; COMPILANDS: ---COMPILANDS---
29 ; COMPILANDS-NOT: ---TYPES---
30 ; COMPILANDS-NOT: ---GLOBALS---
31 ; COMPILANDS-NOT: ---SYMBOLS---
33 ; Check that types and compilands are dumped when both arguments are specified.
35 ; MULTIPLE: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
36 ; MULTIPLE: Attributes: HasPrivateSymbols
37 ; MULTIPLE: ---COMPILANDS---
38 ; MULTIPLE: ---TYPES---
39 ; MULTIPLE-NOT: ---GLOBALS---
40 ; MULTIPLE-NOT: ---SYMBOLS---