[Alignment][NFC] Instructions::getLoadStoreAlignment
[llvm-complete.git] / test / DebugInfo / PDB / pdbdump-raw-stream.test
blob0d57ddea0155fffeb6de15777bbcf555588c3468
1 ; RUN: llvm-pdbutil bytes -stream-data=1 %p/Inputs/empty.pdb | FileCheck --check-prefix=STREAM %s
2 ; RUN: llvm-pdbutil bytes -stream-data=100 %p/Inputs/empty.pdb 2>&1 | FileCheck --check-prefix=INVALIDSTREAM %s
3 ; RUN: llvm-pdbutil bytes -stream-data=1,100 %p/Inputs/empty.pdb 2>&1 | FileCheck --check-prefix=BOTH %s
5 ; RUN: llvm-pdbutil bytes -stream-data=1:10 %p/Inputs/empty.pdb | FileCheck --check-prefix=OFFSET %s
6 ; RUN: llvm-pdbutil bytes -stream-data=1@20 %p/Inputs/empty.pdb | FileCheck --check-prefix=SIZED %s
7 ; RUN: llvm-pdbutil bytes -stream-data=1:8@20 %p/Inputs/empty.pdb | FileCheck --check-prefix=SLICE %s
8 ; RUN: llvm-pdbutil bytes -stream-data=1:0x8@0x14 %p/Inputs/empty.pdb | FileCheck --check-prefix=SLICE %s
9 ; RUN: llvm-pdbutil bytes -stream-data=2:4050@100 %p/Inputs/empty.pdb 2>&1 | FileCheck --check-prefix=DISCONTINUITY %s
11 STREAM:                             Stream Data
12 STREAM-NEXT: ============================================================
13 STREAM-NEXT:   Stream 1: PDB Stream (dumping 118 / 118 bytes)
14 STREAM-NEXT:     Data (
15 STREAM-NEXT:       13000: 942E3101 E207E554 01000000 0B355641 86A0A249 896F9988 FAE52FF0 22000000  |..1....T.....5VA...I.o..../."...|
16 STREAM-NEXT:       13020: 2F4C696E 6B496E66 6F002F6E 616D6573 002F7372 632F6865 61646572 626C6F63  |/LinkInfo./names./src/headerbloc|
17 STREAM-NEXT:       13040: 6B000300 00000600 00000100 00001A00 00000000 00001100 00000900 00000A00  |k...............................|
18 STREAM-NEXT:       13060: 00000D00 00000000 00000500 00000000 00004191 3201                        |..................A.2.|
19 STREAM-NEXT:     )
21 INVALIDSTREAM:                             Stream Data
22 INVALIDSTREAM-NEXT: ============================================================
23 INVALIDSTREAM-NEXT:   Stream 100: Not present
25 BOTH:                             Stream Data
26 BOTH-NEXT: ============================================================
27 BOTH-NEXT:   Stream 1: PDB Stream (dumping 118 / 118 bytes)
28 BOTH-NEXT:     Data (
29 BOTH-NEXT:       13000: 942E3101 E207E554 01000000 0B355641 86A0A249 896F9988 FAE52FF0 22000000  |..1....T.....5VA...I.o..../."...|
30 BOTH-NEXT:       13020: 2F4C696E 6B496E66 6F002F6E 616D6573 002F7372 632F6865 61646572 626C6F63  |/LinkInfo./names./src/headerbloc|
31 BOTH-NEXT:       13040: 6B000300 00000600 00000100 00001A00 00000000 00001100 00000900 00000A00  |k...............................|
32 BOTH-NEXT:       13060: 00000D00 00000000 00000500 00000000 00004191 3201                        |..................A.2.|
33 BOTH-NEXT:     )
34 BOTH-NEXT:   Stream 100: Not present
36 OFFSET:                             Stream Data
37 OFFSET-NEXT: ============================================================
38 OFFSET-NEXT:   Stream 1: PDB Stream (dumping 108 / 118 bytes)
39 OFFSET-NEXT:     Data (
40 OFFSET-NEXT:       1300A: 00000B35 564186A0 A249896F 9988FAE5 2FF02200 00002F4C 696E6B49 6E666F00  |...5VA...I.o..../.".../LinkInfo.|
41 OFFSET-NEXT:       1302A: 2F6E616D 6573002F 7372632F 68656164 6572626C 6F636B00 03000000 06000000  |/names./src/headerblock.........|
42 OFFSET-NEXT:       1304A: 01000000 1A000000 00000000 11000000 09000000 0A000000 0D000000 00000000  |................................|
43 OFFSET-NEXT:       1306A: 05000000 00000000 41913201                                               |........A.2.|
44 OFFSET-NEXT:     )
46 SIZED:                             Stream Data
47 SIZED-NEXT: ============================================================
48 SIZED-NEXT:   Stream 1: PDB Stream (dumping 20 / 118 bytes)
49 SIZED-NEXT:     Data (
50 SIZED-NEXT:       13000: 942E3101 E207E554 01000000 0B355641 86A0A249                           |..1....T.....5VA...I|
51 SIZED-NEXT:     )
53 SLICE:                             Stream Data
54 SLICE-NEXT: ============================================================
55 SLICE-NEXT:   Stream 1: PDB Stream (dumping 20 / 118 bytes)
56 SLICE-NEXT:     Data (
57 SLICE-NEXT:       13008: 01000000 0B355641 86A0A249 896F9988 FAE52FF0                             |.....5VA...I.o..../.|
58 SLICE-NEXT:     )
60 DISCONTINUITY:                              Stream Data
61 DISCONTINUITY-NEXT: ============================================================
62 DISCONTINUITY-NEXT:   Stream 2: TPI Stream (dumping 100 / 5,392 bytes)
63 DISCONTINUITY-NEXT:     Data (
64 DISCONTINUITY-NEXT:       12FD2: 65537472 75637455 73616765 00F10215 03000480 00002000 654C6F63 616C5573  |eStructUsage.......... .eLocalUs|
65 DISCONTINUITY-NEXT:       12FF2: 61676500 F2F10215 03000480 0000                                          |age...........|
66 DISCONTINUITY-NEXT:       -------------------------------------------------<discontinuity>--------------------------------------------------
67 DISCONTINUITY-NEXT:       11000: 40006550 726F7065 72747955 73616765 00F3F2F1 02150300 04800000 80006545  |@.ePropertyUsage..............eE|
68 DISCONTINUITY-NEXT:       11020: 76656E74 55736167 6500F2F1 02150300 04800000 0001                        |ventUsage.............|
69 DISCONTINUITY-NEXT:     )