mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
a8234cdb0e
This fixes https://bugs.llvm.org/show_bug.cgi?id=41712 bug. Reviewed By: aganea Differential Revision: https://reviews.llvm.org/D99978
41 lines
1.6 KiB
Plaintext
41 lines
1.6 KiB
Plaintext
; RUN: llvm-pdbutil pretty %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=NO_ARGS
|
|
; RUN: llvm-pdbutil pretty -types %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=TYPES
|
|
; RUN: llvm-pdbutil pretty -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=COMPILANDS
|
|
; RUN: llvm-pdbutil pretty -types -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=MULTIPLE
|
|
|
|
; Check that neither symbols nor compilands are dumped when neither argument specified.
|
|
; NO_ARGS: empty.pdb
|
|
; NO_ARGS: Guid: {4156350B-A086-49A2-896F-9988FAE52FF0}
|
|
; NO_ARGS: Attributes: HasPrivateSymbols
|
|
; NO_ARGS-NOT: ---TYPES---
|
|
; NO_ARGS-NOT: ---COMPILANDS---
|
|
; NO_ARGS-NOT: ---GLOBALS---
|
|
; NO_ARGS-NOT: ---SYMBOLS---
|
|
|
|
; Check that only types are dumped when only -types is specified.
|
|
; TYPES: empty.pdb
|
|
; TYPES: Guid: {4156350B-A086-49A2-896F-9988FAE52FF0}
|
|
; TYPES: Attributes: HasPrivateSymbols
|
|
; TYPES: ---TYPES---
|
|
; TYPES-NOT: ---COMPILANDS---
|
|
; TYPES-NOT: ---GLOBALS---
|
|
; TYPES-NOT: ---SYMBOLS---
|
|
|
|
; Check that only compilands are dumped when only -compilands is specified.
|
|
; COMPILANDS: empty.pdb
|
|
; COMPILANDS: Guid: {4156350B-A086-49A2-896F-9988FAE52FF0}
|
|
; COMPILANDS: Attributes: HasPrivateSymbols
|
|
; COMPILANDS: ---COMPILANDS---
|
|
; COMPILANDS-NOT: ---TYPES---
|
|
; COMPILANDS-NOT: ---GLOBALS---
|
|
; COMPILANDS-NOT: ---SYMBOLS---
|
|
|
|
; Check that types and compilands are dumped when both arguments are specified.
|
|
; MULTIPLE: empty.pdb
|
|
; MULTIPLE: Guid: {4156350B-A086-49A2-896F-9988FAE52FF0}
|
|
; MULTIPLE: Attributes: HasPrivateSymbols
|
|
; MULTIPLE: ---COMPILANDS---
|
|
; MULTIPLE: ---TYPES---
|
|
; MULTIPLE-NOT: ---GLOBALS---
|
|
; MULTIPLE-NOT: ---SYMBOLS---
|