summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-05-02 18:09:14 +0000
committerZachary Turner <zturner@google.com>2016-05-02 18:09:14 +0000
commit0eace0bae572f667dff0ba7d202f7e211d1b2625 (patch)
tree813a7326b7348374f23ab02e1a05dcccb924742f /llvm/test
parent27233b727fb093efde9487180b61fee975442f72 (diff)
downloadbcm5719-llvm-0eace0bae572f667dff0ba7d202f7e211d1b2625.tar.gz
bcm5719-llvm-0eace0bae572f667dff0ba7d202f7e211d1b2625.zip
Parse PDB Name Hash Table
PDB has a lot of similar data structures. We already have code for parsing a Name Map, but PDB seems to have a different but very similar structure that is a hash table. This is the beginning of code needed in order to parse the name hash table, but it is not yet complete. It parses the basic metadata of the hash table, the bucket array, and the names buffer, but doesn't use any of these fields yet as the data structure requires a non-trivial amount of work to understand. llvm-svn: 268268
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/DebugInfo/PDB/pdbdump-headers.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/PDB/pdbdump-headers.test b/llvm/test/DebugInfo/PDB/pdbdump-headers.test
index 92999827e45..6b4c61cf8b6 100644
--- a/llvm/test/DebugInfo/PDB/pdbdump-headers.test
+++ b/llvm/test/DebugInfo/PDB/pdbdump-headers.test
@@ -20,6 +20,11 @@
; EMPTY: NameStream: 13
; EMPTY-NEXT: NameStreamSignature: effeeffe
; EMPTY-NEXT: NameStreamVersion: 1
+; EMPTY-NEXT: Name Count: 4
+; EMPTY-NEXT: Name: d:\src\llvm\test\debuginfo\pdb\inputs\predefined c++ attributes (compiler internal)
+; EMPTY-NEXT: Name:
+; EMPTY-NEXT: Name: d:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp
+; EMPTY-NEXT: Name:
; EMPTY: Dbi Version: 19990903
; EMPTY-NEXT: Age: 1
@@ -76,6 +81,16 @@ BIG-NEXT: Guid: {880ECC89-DF81-0B4F-839C-58CBD052E937}
BIG: NameStream: 13
BIG-NEXT: NameStreamSignature: effeeffe
BIG-NEXT: NameStreamVersion: 1
+BIG-NEXT: Name Count: 92
+BIG-NEXT: Name: f:\dd\vctools\crt\vcruntime\inc\vcruntime_startup.h
+BIG-NEXT: Name: f:\dd\vctools\crt\vcstartup\src\misc\checkcfg.c
+BIG-NEXT: Name: f:\dd\vctools\langapi\include\isa_availability.h
+BIG-NEXT: Name:
+BIG-NEXT: Name: $T0 $ebp = $T2 $esp = $T1 .raSearchStart = $eip $T1 ^ = $ebp $T0 = $esp $T1 4 + =
+BIG-NEXT: Name:
+BIG-NEXT: Name: f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl
+BIG-NEXT: Name: $T0 $ebp = $eip $T0 4 + ^ = $ebp $T0 ^ = $esp $T0 8 + = $20 $T0 40 - ^ = $23 $T0 44 - ^ = $24 $T0 48 - ^ =
+BIG-NEXT: Name: $T0 $ebp = $eip $T0 4 + ^ = $ebp $T0 ^ = $esp $T0 8 + = $23 $T0 16 - ^ = $24 $T0 20 - ^ =
BIG: Dbi Version: 19990903
BIG-NEXT: Age: 1
OpenPOWER on IntegriCloud