2016-07-01 01:42:48 +08:00
|
|
|
; RUN: llvm-pdbdump pretty %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=NO_ARGS
|
|
|
|
; RUN: llvm-pdbdump pretty -types %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=TYPES
|
|
|
|
; RUN: llvm-pdbdump pretty -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=COMPILANDS
|
|
|
|
; RUN: llvm-pdbdump pretty -types -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=MULTIPLE
|
2015-02-23 05:45:38 +08:00
|
|
|
|
|
|
|
; Check that neither symbols nor compilands are dumped when neither argument specified.
|
|
|
|
; NO_ARGS: empty.pdb
|
|
|
|
; NO_ARGS: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
|
|
|
|
; NO_ARGS: Attributes: HasPrivateSymbols
|
2015-02-27 17:15:18 +08:00
|
|
|
; NO_ARGS-NOT: ---TYPES---
|
|
|
|
; NO_ARGS-NOT: ---COMPILANDS---
|
|
|
|
; NO_ARGS-NOT: ---GLOBALS---
|
|
|
|
; NO_ARGS-NOT: ---SYMBOLS---
|
2015-02-23 05:45:38 +08:00
|
|
|
|
2015-02-27 17:15:18 +08:00
|
|
|
; Check that only types are dumped when only -types is specified.
|
2015-02-23 05:45:38 +08:00
|
|
|
; TYPES: empty.pdb
|
|
|
|
; TYPES: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
|
|
|
|
; TYPES: Attributes: HasPrivateSymbols
|
2015-02-27 17:15:18 +08:00
|
|
|
; TYPES: ---TYPES---
|
|
|
|
; TYPES-NOT: ---COMPILANDS---
|
|
|
|
; TYPES-NOT: ---GLOBALS---
|
|
|
|
; TYPES-NOT: ---SYMBOLS---
|
2015-02-23 05:45:38 +08:00
|
|
|
|
|
|
|
; Check that only compilands are dumped when only -compilands is specified.
|
|
|
|
; COMPILANDS: empty.pdb
|
|
|
|
; COMPILANDS: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
|
|
|
|
; COMPILANDS: Attributes: HasPrivateSymbols
|
2015-02-27 17:15:18 +08:00
|
|
|
; COMPILANDS: ---COMPILANDS---
|
|
|
|
; COMPILANDS-NOT: ---TYPES---
|
|
|
|
; COMPILANDS-NOT: ---GLOBALS---
|
|
|
|
; COMPILANDS-NOT: ---SYMBOLS---
|
2015-02-23 05:45:38 +08:00
|
|
|
|
|
|
|
; Check that types and compilands are dumped when both arguments are specified.
|
2015-02-27 17:15:18 +08:00
|
|
|
; MULTIPLE: empty.pdb
|
|
|
|
; MULTIPLE: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
|
|
|
|
; MULTIPLE: Attributes: HasPrivateSymbols
|
|
|
|
; MULTIPLE: ---COMPILANDS---
|
|
|
|
; MULTIPLE: ---TYPES---
|
|
|
|
; MULTIPLE-NOT: ---GLOBALS---
|
|
|
|
; MULTIPLE-NOT: ---SYMBOLS---
|