diff options
| author | Zachary Turner <zturner@google.com> | 2018-09-07 23:36:08 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2018-09-07 23:36:08 +0000 |
| commit | 0119e384918f54c7e694bb19befeed9b7397f787 (patch) | |
| tree | 914190f980990d9711e05467f9a9067577708497 /llvm/test/DebugInfo/PDB | |
| parent | 05430cc6e55ff3ec6e8f38960c54e9b593e3718c (diff) | |
| download | bcm5719-llvm-0119e384918f54c7e694bb19befeed9b7397f787.tar.gz bcm5719-llvm-0119e384918f54c7e694bb19befeed9b7397f787.zip | |
Fix some of the PDB tests.
They were unintentionally calling DIA directly, which requires
Windows. We need to pass the -native flag, and this then required
fixing up one or two tests.
llvm-svn: 341731
Diffstat (limited to 'llvm/test/DebugInfo/PDB')
| -rw-r--r-- | llvm/test/DebugInfo/PDB/Native/pdb-native-compilands.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/DebugInfo/PDB/Native/pdb-native-compilands.test b/llvm/test/DebugInfo/PDB/Native/pdb-native-compilands.test index 028e3379377..7dca036f9ba 100644 --- a/llvm/test/DebugInfo/PDB/Native/pdb-native-compilands.test +++ b/llvm/test/DebugInfo/PDB/Native/pdb-native-compilands.test @@ -3,7 +3,7 @@ ; RUN: | FileCheck -check-prefix=EMPTY %s ; RUN: llvm-pdbutil pretty -native -compilands %p/../Inputs/big-read.pdb \ ; RUN: | FileCheck -check-prefix=BIGREAD %s -; RUN: llvm-pdbutil diadump -compilands %p/../Inputs/empty.pdb \ +; RUN: llvm-pdbutil diadump -native -compilands %p/../Inputs/empty.pdb \ ; RUN: | FileCheck -check-prefix=DUMP %s ; Reference output was generated with the DIA reader to ensure that the @@ -67,9 +67,9 @@ BIGREAD: api-ms-win-crt-heap-l1-1-0.dll BIGREAD: * Linker * DUMP: { -DUMP-NEXT: symIndexId: 1 +DUMP-NEXT: symIndexId: 2 DUMP-NEXT: symTag: 2 -DUMP-NEXT: lexicalParentId: 2 +DUMP-NEXT: lexicalParentId: 0 DUMP-NEXT: libraryName: d:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj DUMP-NEXT: name: d:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj DUMP-NEXT: editAndContinueEnabled: 0 @@ -77,7 +77,7 @@ DUMP-NEXT: } DUMP-NEXT: { DUMP-NEXT: symIndexId: 3 DUMP-NEXT: symTag: 2 -DUMP-NEXT: lexicalParentId: 2 +DUMP-NEXT: lexicalParentId: 0 DUMP-NEXT: libraryName: DUMP-NEXT: name: * Linker * DUMP-NEXT: editAndContinueEnabled: 0 |

