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=MULTIPLE 5 6 ; Check that neither symbols nor compilands are dumped when neither argument specified. 7 ; NO_ARGS: empty.pdb 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--- 14 15 ; Check that only types are dumped when only -types is specified. 16 ; TYPES: empty.pdb 17 ; TYPES: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0} 18 ; TYPES: Attributes: HasPrivateSymbols 19 ; TYPES: ---TYPES--- 20 ; TYPES-NOT: ---COMPILANDS--- 21 ; TYPES-NOT: ---GLOBALS--- 22 ; TYPES-NOT: ---SYMBOLS--- 23 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--- 32 33 ; Check that types and compilands are dumped when both arguments are specified. 34 ; MULTIPLE: empty.pdb 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--- 41