diff options
author | Stephen Hines <srhines@google.com> | 2015-04-01 18:49:24 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-01 18:49:26 +0000 |
commit | 3fa16bd6062e23bcdb82ed4dd965674792e6b761 (patch) | |
tree | 9348fc507292f7e8715d22d64ce5a32131b4f875 /test/DebugInfo/PDB/pdbdump-flags.test | |
parent | beed47390a60f6f0c77532b3d3f76bb47ef49423 (diff) | |
parent | ebe69fe11e48d322045d5949c83283927a0d790b (diff) | |
download | external_llvm-3fa16bd6062e23bcdb82ed4dd965674792e6b761.zip external_llvm-3fa16bd6062e23bcdb82ed4dd965674792e6b761.tar.gz external_llvm-3fa16bd6062e23bcdb82ed4dd965674792e6b761.tar.bz2 |
Merge "Update aosp/master LLVM for rebase to r230699."
Diffstat (limited to 'test/DebugInfo/PDB/pdbdump-flags.test')
-rw-r--r-- | test/DebugInfo/PDB/pdbdump-flags.test | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/DebugInfo/PDB/pdbdump-flags.test b/test/DebugInfo/PDB/pdbdump-flags.test new file mode 100644 index 0000000..d8d38cb --- /dev/null +++ b/test/DebugInfo/PDB/pdbdump-flags.test @@ -0,0 +1,32 @@ +; RUN: llvm-pdbdump %p/Inputs/empty.pdb | FileCheck %s -check-prefix=NO_ARGS +; RUN: llvm-pdbdump -types %p/Inputs/empty.pdb | FileCheck %s -check-prefix=TYPES +; RUN: llvm-pdbdump -compilands %p/Inputs/empty.pdb | FileCheck %s -check-prefix=COMPILANDS +; RUN: llvm-pdbdump -types -compilands %p/Inputs/empty.pdb | FileCheck %s -check-prefix=BOTH + +; 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 +; NO_ARGS-NOT: Dumping compilands +; NO_ARGS-NOT: Dumping symbols + +; Check that only symbols are dumped when only -types is specified. +; TYPES: empty.pdb +; TYPES: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0} +; TYPES: Attributes: HasPrivateSymbols +; TYPES: Dumping types +; TYPES-NOT: Dumping compilands + +; Check that only compilands are dumped when only -compilands is specified. +; COMPILANDS: empty.pdb +; COMPILANDS: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0} +; COMPILANDS: Attributes: HasPrivateSymbols +; COMPILANDS-NOT: Dumping types +; COMPILANDS: Dumping compilands + +; Check that types and compilands are dumped when both arguments are specified. +; BOTH: empty.pdb +; BOTH: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0} +; BOTH: Attributes: HasPrivateSymbols +; BOTH: Dumping types +; BOTH: Dumping compilands |