diff options
Diffstat (limited to 'llvm/test/DebugInfo')
-rw-r--r-- | llvm/test/DebugInfo/PDB/Inputs/cross-module-import-export.yaml | 24 | ||||
-rw-r--r-- | llvm/test/DebugInfo/PDB/Inputs/debug-subsections.yaml (renamed from llvm/test/DebugInfo/PDB/Inputs/simple-line-info.yaml) | 28 | ||||
-rw-r--r-- | llvm/test/DebugInfo/PDB/cross-module-import-export.test | 60 | ||||
-rw-r--r-- | llvm/test/DebugInfo/PDB/pdb-minimal-construct.test | 22 | ||||
-rw-r--r-- | llvm/test/DebugInfo/PDB/pdb-yaml-symbols.test | 2 | ||||
-rw-r--r-- | llvm/test/DebugInfo/PDB/pdbdump-debug-subsections.test | 162 | ||||
-rw-r--r-- | llvm/test/DebugInfo/PDB/pdbdump-headers.test | 6 | ||||
-rw-r--r-- | llvm/test/DebugInfo/PDB/pdbdump-readwrite.test | 4 | ||||
-rw-r--r-- | llvm/test/DebugInfo/PDB/pdbdump-source-names.test | 4 | ||||
-rw-r--r-- | llvm/test/DebugInfo/PDB/pdbdump-write.test | 6 | ||||
-rw-r--r-- | llvm/test/DebugInfo/PDB/pdbdump-yaml-lineinfo-write.test | 71 | ||||
-rw-r--r-- | llvm/test/DebugInfo/PDB/pdbdump-yaml-lineinfo.test | 60 |
12 files changed, 208 insertions, 241 deletions
diff --git a/llvm/test/DebugInfo/PDB/Inputs/cross-module-import-export.yaml b/llvm/test/DebugInfo/PDB/Inputs/cross-module-import-export.yaml deleted file mode 100644 index 4c3f28c3102..00000000000 --- a/llvm/test/DebugInfo/PDB/Inputs/cross-module-import-export.yaml +++ /dev/null @@ -1,24 +0,0 @@ -DbiStream:
- Modules:
- - Module: 'Foo.obj'
- ObjFile: 'Foo.obj'
- Subsections:
- - !CrossModuleExports
- Exports:
- - LocalId: 4852
- GlobalId: 9283
- - LocalId: 2147487875
- GlobalId: 9123
- - Module: 'Bar.obj'
- ObjFile: 'Bar.obj'
- Subsections:
- - !CrossModuleExports
- Exports:
- - LocalId: 4265
- GlobalId: 6097
- - LocalId: 4297
- GlobalId: 4677
- - !CrossModuleImports
- Imports:
- - Module: 'Foo.obj'
- Imports: [ 4852, 2147487875 ]
diff --git a/llvm/test/DebugInfo/PDB/Inputs/simple-line-info.yaml b/llvm/test/DebugInfo/PDB/Inputs/debug-subsections.yaml index d1324d26d8b..eb0ab49a973 100644 --- a/llvm/test/DebugInfo/PDB/Inputs/simple-line-info.yaml +++ b/llvm/test/DebugInfo/PDB/Inputs/debug-subsections.yaml @@ -1,6 +1,27 @@ ---- -DbiStream: - Modules: +DbiStream: + Modules: + - Module: 'Foo.obj' + ObjFile: 'Foo.obj' + Subsections: + - !CrossModuleExports + Exports: + - LocalId: 4852 + GlobalId: 9283 + - LocalId: 2147487875 + GlobalId: 9123 + - Module: 'Bar.obj' + ObjFile: 'Bar.obj' + Subsections: + - !CrossModuleExports + Exports: + - LocalId: 4265 + GlobalId: 6097 + - LocalId: 4297 + GlobalId: 4677 + - !CrossModuleImports + Imports: + - Module: 'Foo.obj' + Imports: [ 4852, 2147487875 ] - Module: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj' ObjFile: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj' SourceFiles: @@ -41,4 +62,3 @@ DbiStream: - FileName: 'f:\dd\externalapis\windows\10\sdk\inc\winerror.h' LineNum: 26950 Inlinee: 22767 -... diff --git a/llvm/test/DebugInfo/PDB/cross-module-import-export.test b/llvm/test/DebugInfo/PDB/cross-module-import-export.test deleted file mode 100644 index fda7495dd87..00000000000 --- a/llvm/test/DebugInfo/PDB/cross-module-import-export.test +++ /dev/null @@ -1,60 +0,0 @@ -; RUN: llvm-pdbdump yaml2pdb -pdb=%t.pdb %p/Inputs/cross-module-import-export.yaml
-
-; RUN: llvm-pdbdump pdb2yaml -all -no-file-headers %t.pdb | FileCheck --check-prefix=YAML %s
-; RUN: llvm-pdbdump raw -all %t.pdb | FileCheck --check-prefix=RAW %s
-
-YAML: Modules:
-YAML-NEXT: - Module: Foo.obj
-YAML-NEXT: ObjFile: Foo.obj
-YAML-NEXT: Subsections:
-YAML-NEXT: - !CrossModuleExports
-YAML-NEXT: Exports:
-YAML-NEXT: - LocalId: 4852
-YAML-NEXT: GlobalId: 9283
-YAML-NEXT: - LocalId: 2147487875
-YAML-NEXT: GlobalId: 9123
-YAML: - Module: Bar.obj
-YAML-NEXT: ObjFile: Bar.obj
-YAML-NEXT: Subsections:
-YAML-NEXT: - !CrossModuleExports
-YAML-NEXT: Exports:
-YAML-NEXT: - LocalId: 4265
-YAML-NEXT: GlobalId: 6097
-YAML-NEXT: - LocalId: 4297
-YAML-NEXT: GlobalId: 4677
-YAML-NEXT: - !CrossModuleImports
-YAML-NEXT: Imports:
-YAML-NEXT: - Module: Foo.obj
-YAML-NEXT: Imports: [ 4852, 2147487875 ]
-
-
-RAW: DBI Stream {
-RAW: Modules [
-RAW-NEXT: {
-RAW-NEXT: Name: Foo.obj
-RAW: LineInfo [
-RAW-NEXT: CrossModuleExports {
-RAW-NEXT: Local: 0x12F4
-RAW-NEXT: Global: 0x2443
-RAW-NEXT: Local: 0x80001083
-RAW-NEXT: Global: 0x23A3
-RAW-NEXT: }
-RAW-NEXT: ]
-RAW-NEXT: }
-RAW-NEXT: {
-RAW-NEXT: Name: Bar.obj
-RAW: LineInfo [
-RAW-NEXT: CrossModuleExports {
-RAW-NEXT: Local: 0x10A9
-RAW-NEXT: Global: 0x17D1
-RAW-NEXT: Local: 0x10C9
-RAW-NEXT: Global: 0x1245
-RAW-NEXT: }
-RAW-NEXT: CrossModuleImports {
-RAW-NEXT: Module: Foo.obj
-RAW-NEXT: Imports: [0x12F4, 0x80001083]
-RAW-NEXT: }
-RAW-NEXT: ]
-RAW-NEXT: }
-RAW-NEXT: ]
-RAW-NEXT: }
\ No newline at end of file diff --git a/llvm/test/DebugInfo/PDB/pdb-minimal-construct.test b/llvm/test/DebugInfo/PDB/pdb-minimal-construct.test index d75c51056c9..e43b5fe8ff9 100644 --- a/llvm/test/DebugInfo/PDB/pdb-minimal-construct.test +++ b/llvm/test/DebugInfo/PDB/pdb-minimal-construct.test @@ -1,11 +1,11 @@ -; This testcase verifies that we can produce a minimal PDB, while
-; serving as an example for how to construct a minimal PDB for other
-; testcases. It takes as input a small fragment of hand-written yaml
-; that specifies nothing about the PDB other than a definition of one
-; symbol that it contains. Then it produces a PDB, and uses the
-; resulting PDB to go back to yaml, and verify that the resulting yaml
-; is identical.
-
-; RUN: llvm-pdbdump yaml2pdb -pdb=%t.pdb %p/Inputs/one-symbol.yaml
-; RUN: llvm-pdbdump pdb2yaml -minimal -dbi-module-syms -no-file-headers %t.pdb > %t.pdb.yaml
-; RUN: diff -b %p/Inputs/one-symbol.yaml %t.pdb.yaml
+; This testcase verifies that we can produce a minimal PDB, while +; serving as an example for how to construct a minimal PDB for other +; testcases. It takes as input a small fragment of hand-written yaml +; that specifies nothing about the PDB other than a definition of one +; symbol that it contains. Then it produces a PDB, and uses the +; resulting PDB to go back to yaml, and verify that the resulting yaml +; is identical. + +; RUN: llvm-pdbdump yaml2pdb -pdb=%t.pdb %p/Inputs/one-symbol.yaml +; RUN: llvm-pdbdump pdb2yaml -minimal -module-syms -no-file-headers %t.pdb > %t.pdb.yaml +; RUN: diff -b %p/Inputs/one-symbol.yaml %t.pdb.yaml diff --git a/llvm/test/DebugInfo/PDB/pdb-yaml-symbols.test b/llvm/test/DebugInfo/PDB/pdb-yaml-symbols.test index e3cdcb6abab..66addae60a3 100644 --- a/llvm/test/DebugInfo/PDB/pdb-yaml-symbols.test +++ b/llvm/test/DebugInfo/PDB/pdb-yaml-symbols.test @@ -1,4 +1,4 @@ -; RUN: llvm-pdbdump pdb2yaml -dbi-module-syms %p/Inputs/empty.pdb \ +; RUN: llvm-pdbdump pdb2yaml -module-syms %p/Inputs/empty.pdb \ ; RUN: | FileCheck -check-prefix=YAML %s diff --git a/llvm/test/DebugInfo/PDB/pdbdump-debug-subsections.test b/llvm/test/DebugInfo/PDB/pdbdump-debug-subsections.test new file mode 100644 index 00000000000..5b09158c320 --- /dev/null +++ b/llvm/test/DebugInfo/PDB/pdbdump-debug-subsections.test @@ -0,0 +1,162 @@ +; RUN: llvm-pdbdump yaml2pdb -pdb=%t.pdb %p/Inputs/debug-subsections.yaml + +; RUN: llvm-pdbdump pdb2yaml -all -no-file-headers %t.pdb | FileCheck --check-prefix=YAML %s +; RUN: llvm-pdbdump raw -subsections=all %t.pdb | FileCheck --check-prefix=RAW %s + +YAML: Modules: +YAML-NEXT: - Module: Foo.obj +YAML-NEXT: ObjFile: Foo.obj +YAML-NEXT: Subsections: +YAML-NEXT: - !CrossModuleExports +YAML-NEXT: Exports: +YAML-NEXT: - LocalId: 4852 +YAML-NEXT: GlobalId: 9283 +YAML-NEXT: - LocalId: 2147487875 +YAML-NEXT: GlobalId: 9123 +YAML: - Module: Bar.obj +YAML-NEXT: ObjFile: Bar.obj +YAML-NEXT: Subsections: +YAML-NEXT: - !CrossModuleExports +YAML-NEXT: Exports: +YAML-NEXT: - LocalId: 4265 +YAML-NEXT: GlobalId: 6097 +YAML-NEXT: - LocalId: 4297 +YAML-NEXT: GlobalId: 4677 +YAML-NEXT: - !CrossModuleImports +YAML-NEXT: Imports: +YAML-NEXT: - Module: Foo.obj +YAML-NEXT: Imports: [ 4852, 2147487875 ] +YAML: - Module: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj' +YAML-NEXT: ObjFile: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj' +YAML-NEXT: SourceFiles: +YAML-NEXT: - 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp' +YAML-NEXT: Subsections: +YAML-NEXT: - !FileChecksums +YAML-NEXT: Checksums: +YAML-NEXT: - FileName: 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp' +YAML-NEXT: Kind: MD5 +YAML-NEXT: Checksum: A0A5BD0D3ECD93FC29D19DE826FBF4BC +YAML-NEXT: - FileName: 'f:\dd\externalapis\windows\10\sdk\inc\winerror.h' +YAML-NEXT: Kind: MD5 +YAML-NEXT: Checksum: 1154D69F5B2650196E1FC34F4134E56B +YAML-NEXT: - !Lines +YAML-NEXT: CodeSize: 10 +YAML-NEXT: Flags: [ ] +YAML-NEXT: RelocOffset: 16 +YAML-NEXT: RelocSegment: 1 +YAML-NEXT: Blocks: +YAML-NEXT: - FileName: 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp' +YAML-NEXT: Lines: +YAML-NEXT: - Offset: 0 +YAML-NEXT: LineStart: 5 +YAML-NEXT: IsStatement: true +YAML-NEXT: EndDelta: 0 +YAML-NEXT: - Offset: 3 +YAML-NEXT: LineStart: 6 +YAML-NEXT: IsStatement: true +YAML-NEXT: EndDelta: 0 +YAML-NEXT: - Offset: 8 +YAML-NEXT: LineStart: 7 +YAML-NEXT: IsStatement: true +YAML-NEXT: EndDelta: 0 +YAML-NEXT: Columns: +YAML-NEXT: - !InlineeLines +YAML-NEXT: HasExtraFiles: false +YAML-NEXT: Sites: +YAML-NEXT: - FileName: 'f:\dd\externalapis\windows\10\sdk\inc\winerror.h' +YAML-NEXT: LineNum: 26950 +YAML-NEXT: Inlinee: 22767 + + +RAW: DBI Stream { +RAW: Modules [ +RAW-NEXT: { +RAW-NEXT: Name: Foo.obj +RAW: Subsections [ +RAW-NEXT: CrossModuleExports { +RAW-NEXT: Local: 0x12F4 +RAW-NEXT: Global: 0x2443 +RAW-NEXT: Local: 0x80001083 +RAW-NEXT: Global: 0x23A3 +RAW-NEXT: } +RAW-NEXT: ] +RAW-NEXT: } +RAW-NEXT: { +RAW-NEXT: Name: Bar.obj +RAW: Subsections [ +RAW-NEXT: CrossModuleExports { +RAW-NEXT: Local: 0x10A9 +RAW-NEXT: Global: 0x17D1 +RAW-NEXT: Local: 0x10C9 +RAW-NEXT: Global: 0x1245 +RAW-NEXT: } +RAW-NEXT: CrossModuleImports { +RAW-NEXT: Module: Foo.obj +RAW-NEXT: Imports: [0x12F4, 0x80001083] +RAW-NEXT: } +RAW-NEXT: ] +RAW-NEXT: } +RAW-NEXT: { +RAW-NEXT: Name: d:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj +RAW: Subsections [ +RAW-NEXT: FileChecksums { +RAW-NEXT: Checksum { +RAW-NEXT: FileName: d:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp +RAW-NEXT: Kind: MD5 (0x1) +RAW-NEXT: Checksum ( +RAW-NEXT: 0000: A0A5BD0D 3ECD93FC 29D19DE8 26FBF4BC |....>...)...&...| +RAW-NEXT: ) +RAW-NEXT: } +RAW-NEXT: Checksum { +RAW-NEXT: FileName: f:\dd\externalapis\windows\10\sdk\inc\winerror.h +RAW-NEXT: Kind: MD5 (0x1) +RAW-NEXT: Checksum ( +RAW-NEXT: 0000: 1154D69F 5B265019 6E1FC34F 4134E56B |.T..[&P.n..OA4.k| +RAW-NEXT: ) +RAW-NEXT: } +RAW-NEXT: } +RAW-NEXT: Lines { +RAW-NEXT: Block { +RAW-NEXT: RelocSegment: 1 +RAW-NEXT: RelocOffset: 16 +RAW-NEXT: CodeSize: 10 +RAW-NEXT: HasColumns: No +RAW-NEXT: Lines { +RAW-NEXT: FileName: d:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp +RAW-NEXT: Line { +RAW-NEXT: Offset: 0 +RAW-NEXT: LineNumberStart: 5 +RAW-NEXT: EndDelta: 0 +RAW-NEXT: IsStatement: Yes +RAW-NEXT: } +RAW-NEXT: Line { +RAW-NEXT: Offset: 3 +RAW-NEXT: LineNumberStart: 6 +RAW-NEXT: EndDelta: 0 +RAW-NEXT: IsStatement: Yes +RAW-NEXT: } +RAW-NEXT: Line { +RAW-NEXT: Offset: 8 +RAW-NEXT: LineNumberStart: 7 +RAW-NEXT: EndDelta: 0 +RAW-NEXT: IsStatement: Yes +RAW-NEXT: } +RAW-NEXT: } +RAW-NEXT: } +RAW-NEXT: } +RAW-NEXT: InlineeLines { +RAW-NEXT: HasExtraFiles: No +RAW-NEXT: Lines [ +RAW-NEXT: Inlinee { +RAW-NEXT: FileName: f:\dd\externalapis\windows\10\sdk\inc\winerror.h +RAW-NEXT: Function { +RAW-NEXT: Index: 0x58ef (unknown function) +RAW-NEXT: } +RAW-NEXT: SourceLine: 26950 +RAW-NEXT: } +RAW-NEXT: ] +RAW-NEXT: } +RAW-NEXT: ] +RAW-NEXT: } +RAW-NEXT: ] +RAW-NEXT:} diff --git a/llvm/test/DebugInfo/PDB/pdbdump-headers.test b/llvm/test/DebugInfo/PDB/pdbdump-headers.test index 4e6bb75f8b8..5266f215bcb 100644 --- a/llvm/test/DebugInfo/PDB/pdbdump-headers.test +++ b/llvm/test/DebugInfo/PDB/pdbdump-headers.test @@ -1,7 +1,7 @@ ; RUN: llvm-pdbdump raw -headers -string-table -tpi-records -tpi-record-bytes -module-syms \ ; RUN: -sym-record-bytes -globals -publics -module-files \ ; RUN: -stream-summary -stream-blocks -ipi-records -ipi-record-bytes \ -; RUN: -section-contribs -section-map -section-headers -line-info \ +; RUN: -section-contribs -section-map -section-headers -subsections=all \ ; RUN: -tpi-hash -fpo -page-stats %p/Inputs/empty.pdb | FileCheck -check-prefix=EMPTY %s ; RUN: llvm-pdbdump raw -all %p/Inputs/empty.pdb | FileCheck -check-prefix=ALL %s ; RUN: llvm-pdbdump raw -headers -modules -module-files \ @@ -484,7 +484,7 @@ ; EMPTY-NEXT: ) ; EMPTY-NEXT: } ; EMPTY-NEXT: ] -; EMPTY-NEXT: LineInfo [ +; EMPTY-NEXT: Subsections [ ; EMPTY-NEXT: FileChecksums { ; EMPTY-NEXT: Checksum { ; EMPTY-NEXT: FileName: d:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp @@ -757,7 +757,7 @@ ; EMPTY-NEXT: ) ; EMPTY-NEXT: } ; EMPTY-NEXT: ] -; EMPTY-NEXT: LineInfo [ +; EMPTY-NEXT: Subsections [ ; EMPTY-NEXT: ] ; EMPTY-NEXT: } ; EMPTY-NEXT: ] diff --git a/llvm/test/DebugInfo/PDB/pdbdump-readwrite.test b/llvm/test/DebugInfo/PDB/pdbdump-readwrite.test index 4756faf68c2..ad075901431 100644 --- a/llvm/test/DebugInfo/PDB/pdbdump-readwrite.test +++ b/llvm/test/DebugInfo/PDB/pdbdump-readwrite.test @@ -1,5 +1,5 @@ -RUN: llvm-pdbdump pdb2yaml -dbi-module-info -dbi-module-source-info \ -RUN: -dbi-stream -pdb-stream -string-table -tpi-stream -stream-directory \ +RUN: llvm-pdbdump pdb2yaml -modules -module-files -dbi-stream \ +RUN: -pdb-stream -string-table -tpi-stream -stream-directory \ RUN: -stream-metadata %p/Inputs/empty.pdb > %t.1 RUN: llvm-pdbdump yaml2pdb -pdb=%t.2 %t.1 diff --git a/llvm/test/DebugInfo/PDB/pdbdump-source-names.test b/llvm/test/DebugInfo/PDB/pdbdump-source-names.test index 181f4d5e0ee..1f17eb2e9ff 100644 --- a/llvm/test/DebugInfo/PDB/pdbdump-source-names.test +++ b/llvm/test/DebugInfo/PDB/pdbdump-source-names.test @@ -7,10 +7,10 @@ # pass if alignment is implemented correctly. RUN: llvm-pdbdump yaml2pdb -pdb=%T/source-names-1.pdb %p/Inputs/source-names-1.yaml -RUN: llvm-pdbdump pdb2yaml -dbi-module-source-info %T/source-names-1.pdb \ +RUN: llvm-pdbdump pdb2yaml -module-files %T/source-names-1.pdb \ RUN: | FileCheck -check-prefix=CHECK1 %s RUN: llvm-pdbdump yaml2pdb -pdb=%T/source-names-2.pdb %p/Inputs/source-names-2.yaml -RUN: llvm-pdbdump pdb2yaml -dbi-module-source-info %T/source-names-2.pdb \ +RUN: llvm-pdbdump pdb2yaml -module-files %T/source-names-2.pdb \ RUN: | FileCheck -check-prefix=CHECK2 %s CHECK1: SourceFiles: diff --git a/llvm/test/DebugInfo/PDB/pdbdump-write.test b/llvm/test/DebugInfo/PDB/pdbdump-write.test index 393473a53af..5e85974cf40 100644 --- a/llvm/test/DebugInfo/PDB/pdbdump-write.test +++ b/llvm/test/DebugInfo/PDB/pdbdump-write.test @@ -11,10 +11,10 @@ ; (for example if we don't write the entire stream) ; ; RUN: llvm-pdbdump pdb2yaml -stream-metadata -stream-directory \ -; RUN: -pdb-stream -tpi-stream -dbi-module-syms %p/Inputs/empty.pdb > %t.1 +; RUN: -pdb-stream -tpi-stream -module-syms %p/Inputs/empty.pdb > %t.1 ; RUN: llvm-pdbdump yaml2pdb -pdb=%t.2 %t.1 ; RUN: llvm-pdbdump pdb2yaml -pdb-stream -tpi-stream \ -; RUN: -dbi-module-syms -no-file-headers %p/Inputs/empty.pdb > %t.3 +; RUN: -module-syms -no-file-headers %p/Inputs/empty.pdb > %t.3 ; RUN: llvm-pdbdump pdb2yaml -pdb-stream -tpi-stream \ -; RUN: -dbi-module-syms -no-file-headers %t.2 > %t.4 +; RUN: -module-syms -no-file-headers %t.2 > %t.4 ; RUN: diff %t.3 %t.4 diff --git a/llvm/test/DebugInfo/PDB/pdbdump-yaml-lineinfo-write.test b/llvm/test/DebugInfo/PDB/pdbdump-yaml-lineinfo-write.test deleted file mode 100644 index 1d63c85352a..00000000000 --- a/llvm/test/DebugInfo/PDB/pdbdump-yaml-lineinfo-write.test +++ /dev/null @@ -1,71 +0,0 @@ -; This testcase verifies that we can produce a PDB with line -; information. It does this by describing some line information -; manually in YAML, creating a PDB out of it, then dumping then -; line information from the resulting PDB. - -; RUN: llvm-pdbdump yaml2pdb -pdb=%t.pdb %p/Inputs/simple-line-info.yaml -; RUN: llvm-pdbdump raw -line-info %t.pdb | FileCheck -check-prefix=LINES %s - -LINES: Modules [ -LINES-NEXT: { -LINES-NEXT: Name: d:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj -LINES: LineInfo [ -LINES-NEXT: FileChecksums { -LINES-NEXT: Checksum { -LINES-NEXT: FileName: d:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp -LINES-NEXT: Kind: MD5 (0x1) -LINES-NEXT: Checksum ( -LINES-NEXT: 0000: A0A5BD0D 3ECD93FC 29D19DE8 26FBF4BC |....>...)...&...| -LINES-NEXT: ) -LINES-NEXT: } -LINES-NEXT: Checksum { -LINES-NEXT: FileName: f:\dd\externalapis\windows\10\sdk\inc\winerror.h -LINES-NEXT: Kind: MD5 (0x1) -LINES-NEXT: Checksum ( -LINES-NEXT: 0000: 1154D69F 5B265019 6E1FC34F 4134E56B |.T..[&P.n..OA4.k| -LINES-NEXT: ) -LINES-NEXT: } -LINES-NEXT: } -LINES-NEXT: Lines { -LINES-NEXT: Block { -LINES-NEXT: RelocSegment: 1 -LINES-NEXT: RelocOffset: 16 -LINES-NEXT: CodeSize: 10 -LINES-NEXT: HasColumns: No -LINES-NEXT: Lines { -LINES-NEXT: FileName: d:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp -LINES-NEXT: Line { -LINES-NEXT: Offset: 0 -LINES-NEXT: LineNumberStart: 5 -LINES-NEXT: EndDelta: 0 -LINES-NEXT: IsStatement: Yes -LINES-NEXT: } -LINES-NEXT: Line { -LINES-NEXT: Offset: 3 -LINES-NEXT: LineNumberStart: 6 -LINES-NEXT: EndDelta: 0 -LINES-NEXT: IsStatement: Yes -LINES-NEXT: } -LINES-NEXT: Line { -LINES-NEXT: Offset: 8 -LINES-NEXT: LineNumberStart: 7 -LINES-NEXT: EndDelta: 0 -LINES-NEXT: IsStatement: Yes -LINES-NEXT: } -LINES-NEXT: } -LINES-NEXT: } -LINES-NEXT: } -LINES-NEXT: InlineeLines { -LINES-NEXT: HasExtraFiles: No -LINES-NEXT: Lines [ -LINES-NEXT: Inlinee { -LINES-NEXT: FileName: f:\dd\externalapis\windows\10\sdk\inc\winerror.h -LINES-NEXT: Function { -LINES-NEXT: Index: 0x58ef (unknown function) -LINES-NEXT: } -LINES-NEXT: SourceLine: 26950 -LINES-NEXT: } -LINES-NEXT: ] -LINES-NEXT: } -LINES-NEXT: ] -LINES-NEXT: } diff --git a/llvm/test/DebugInfo/PDB/pdbdump-yaml-lineinfo.test b/llvm/test/DebugInfo/PDB/pdbdump-yaml-lineinfo.test deleted file mode 100644 index f959805c747..00000000000 --- a/llvm/test/DebugInfo/PDB/pdbdump-yaml-lineinfo.test +++ /dev/null @@ -1,60 +0,0 @@ -; RUN: llvm-pdbdump pdb2yaml -dbi-module-lines %p/Inputs/empty.pdb \ -; RUN: | FileCheck -check-prefix=YAML %s - - -YAML: --- -YAML: MSF: -YAML: SuperBlock: -YAML: BlockSize: 4096 -YAML: FreeBlockMap: 2 -YAML: NumBlocks: 25 -YAML: NumDirectoryBytes: 136 -YAML: Unknown1: 0 -YAML: BlockMapAddr: 24 -YAML: NumDirectoryBlocks: 1 -YAML: DirectoryBlocks: [ 23 ] -YAML: NumStreams: 0 -YAML: FileSize: 102400 -YAML: DbiStream: -YAML: VerHeader: V70 -YAML: Age: 1 -YAML: BuildNumber: 35840 -YAML: PdbDllVersion: 31101 -YAML: PdbDllRbld: 0 -YAML: Flags: 1 -YAML: MachineType: x86 -YAML: Modules: -YAML: - Module: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj' -YAML: ObjFile: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj' -YAML: SourceFiles: -YAML: - 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp' -YAML: Subsections: -YAML: - !Lines -YAML: CodeSize: 10 -YAML: Flags: [ ] -YAML: RelocOffset: 16 -YAML: RelocSegment: 1 -YAML: Blocks: -YAML: - FileName: 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp' -YAML: Lines: -YAML: - Offset: 0 -YAML: LineStart: 5 -YAML: IsStatement: true -YAML: EndDelta: 0 -YAML: - Offset: 3 -YAML: LineStart: 6 -YAML: IsStatement: true -YAML: EndDelta: 0 -YAML: - Offset: 8 -YAML: LineStart: 7 -YAML: IsStatement: true -YAML: EndDelta: 0 -YAML: Columns: -YAML: - !FileChecksums -YAML: Checksums: -YAML: - FileName: 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp' -YAML: Kind: MD5 -YAML: Checksum: A0A5BD0D3ECD93FC29D19DE826FBF4BC -YAML: - Module: '* Linker *' -YAML: ObjFile: '' -YAML: ...
\ No newline at end of file |