41 lines · plain
1; RUN: llvm-pdbutil pretty %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=NO_ARGS2; RUN: llvm-pdbutil pretty -types %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=TYPES3; RUN: llvm-pdbutil pretty -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=COMPILANDS4; RUN: llvm-pdbutil pretty -types -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=MULTIPLE5 6; Check that neither symbols nor compilands are dumped when neither argument specified.7; NO_ARGS: empty.pdb8; NO_ARGS: Guid: {4156350B-A086-49A2-896F-9988FAE52FF0}9; NO_ARGS: Attributes: HasPrivateSymbols10; 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.pdb17; TYPES: Guid: {4156350B-A086-49A2-896F-9988FAE52FF0}18; TYPES: Attributes: HasPrivateSymbols19; 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.pdb26; COMPILANDS: Guid: {4156350B-A086-49A2-896F-9988FAE52FF0}27; COMPILANDS: Attributes: HasPrivateSymbols28; 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.pdb35; MULTIPLE: Guid: {4156350B-A086-49A2-896F-9988FAE52FF0}36; MULTIPLE: Attributes: HasPrivateSymbols37; MULTIPLE: ---COMPILANDS---38; MULTIPLE: ---TYPES---39; MULTIPLE-NOT: ---GLOBALS---40; MULTIPLE-NOT: ---SYMBOLS---41