diff options
| author | Zachary Turner <zturner@google.com> | 2016-05-03 00:28:21 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2016-05-03 00:28:21 +0000 |
| commit | f5c59654f7c8438294ecb6ac0b8613782e0d3956 (patch) | |
| tree | 8d242825d7c9ecf7eebccc365b729d0bdf04856a /llvm/test | |
| parent | 88bb163f816d00d2805b6a0d97ea0f4200b84553 (diff) | |
| download | bcm5719-llvm-f5c59654f7c8438294ecb6ac0b8613782e0d3956.tar.gz bcm5719-llvm-f5c59654f7c8438294ecb6ac0b8613782e0d3956.zip | |
Parse the TPI (type information) stream of PDB files.
This parses the TPI stream (stream 2) from the PDB file. This stream
contains some header information followed by a series of codeview records.
There is some additional complexity here in that alongside this stream of
codeview records is a serialized hash table in order to efficiently query
the types. We parse the necessary bookkeeping information to allow us to
reconstruct the hash table, but we do not actually construct it yet as
there are still a few things that need to be understood first.
Differential Revision: http://reviews.llvm.org/D19840
Reviewed By: ruiu, rnk
llvm-svn: 268343
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/DebugInfo/PDB/pdbdump-headers.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/PDB/pdbdump-headers.test b/llvm/test/DebugInfo/PDB/pdbdump-headers.test index 6b4c61cf8b6..9104f4d7d5b 100644 --- a/llvm/test/DebugInfo/PDB/pdbdump-headers.test +++ b/llvm/test/DebugInfo/PDB/pdbdump-headers.test @@ -62,6 +62,15 @@ ; EMPTY-NEXT: Type Server Index: 0 ; EMPTY-NEXT: Has EC Info: 0 ; EMPTY-NEXT: 0 Contributing Source Files: +; EMPTY-NEXT: TPI Version: 20040203 +; EMPTY-NEXT: Record count: 75 +; EMPTY-NEXT: Kind: 0x4609 Bytes: [00 00 00 00] +; EMPTY-NEXT: Kind: 0x4104 Bytes: [74 00 00 00 00 00 00 00 00 10 00 00] +; EMPTY-NEXT: Kind: 0x4611 Bytes: [02 15 03 00 01 00 61 70 61 72 74 6D 65 6E 74 00 +; EMPTY-NEXT: 02 15 03 00 02 00 73 69 6E 67 6C 65 00 F3 F2 F1 +; EMPTY-NEXT: 02 15 03 00 03 00 66 72 65 65 00 F1 02 15 03 00 +; EMPTY-NEXT: 04 00 6E 65 75 74 72 61 6C 00 F2 F1 02 15 03 00 +; EMPTY-NEXT: 05 00 62 6F 74 68 00 F1] BIG: BlockSize: 4096 BIG-NEXT: Unknown0: 2 |

