diff options
| author | Zachary Turner <zturner@google.com> | 2017-01-25 21:17:40 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2017-01-25 21:17:40 +0000 |
| commit | 29da5db7a0bb0fefbebc1e8ecaa1da557130cd4d (patch) | |
| tree | 26eecd515187d7a13ee811dd2a3eddcac2e0fbe2 /llvm/test | |
| parent | 6ec3b468ddd4448814194091a42e63f026adadeb (diff) | |
| download | bcm5719-llvm-29da5db7a0bb0fefbebc1e8ecaa1da557130cd4d.tar.gz bcm5719-llvm-29da5db7a0bb0fefbebc1e8ecaa1da557130cd4d.zip | |
[pdb] Correctly parse the hash adjusters table from TPI stream.
This is not a list of pairs, it is a hash table data structure. We now
correctly parse this out and dump it from llvm-pdbdump.
We still need to understand the conditions that lead to a type
getting an entry in the hash adjuster table. That will be done
in a followup investigation / patch.
Differential Revision: https://reviews.llvm.org/D29090
llvm-svn: 293090
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/DebugInfo/PDB/pdbdump-headers.test | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/llvm/test/DebugInfo/PDB/pdbdump-headers.test b/llvm/test/DebugInfo/PDB/pdbdump-headers.test index 565d311c421..feca515d5d9 100644 --- a/llvm/test/DebugInfo/PDB/pdbdump-headers.test +++ b/llvm/test/DebugInfo/PDB/pdbdump-headers.test @@ -152,9 +152,11 @@ ; EMPTY-NEXT: Number of Hash Buckets: 262143 ; EMPTY-NEXT: Hash Key Size: 4 ; EMPTY-NEXT: Values: [205956, 163561, 59811, 208239, 16377, 247078, 194342, 254156, 194536, 167492, 185421, 119540, 261871, 198119, 48056, 251486, 134580, 148190, 113636, 53336, 55779, 220695, 198114, 148734, 81128, 60158, 217249, 174209, 159978, 249504, 141941, 238785, 6214, 94935, 151449, 135589, 73373, 96512, 254299, 17744, 239514, 173189, 130544, 204437, 238560, 144673, 115151, 197306, 256035, 101096, 231280, 52156, 48854, 170035, 177041, 102745, 16947, 183703, 98548, 35693, 171328, 203640, 139292, 49018, 43821, 202555, 165040, 215835, 142625, 52534, 44186, 103930, 110942, 17991, 213215] -; EMPTY-NEXT: Type Index Offsets: [{4096, 0}] ; EMPTY-NEXT: Hash Adjustments: [] ; EMPTY-NEXT: } +; EMPTY-NEXT: TypeIndexOffsets [ +; EMPTY-NEXT: Index: 0x1000, Offset: 0 +; EMPTY-NEXT: ] ; EMPTY: Type Info Stream (IPI) { ; EMPTY-NEXT: IPI Version: 20040203 ; EMPTY-NEXT: Record count: 15 @@ -231,13 +233,9 @@ ; EMPTY-NEXT: 0000: 42100000 01000000 6C000000 0100F2F1 |B.......l.......| ; EMPTY-NEXT: ) ; EMPTY-NEXT: } -; EMPTY: Hash { -; EMPTY-NEXT: Number of Hash Buckets: 262143 -; EMPTY-NEXT: Hash Key Size: 4 -; EMPTY-NEXT: Values: [7186, 7198, 7180, 7191, 7201, 7241, 7249, 80727, 154177, 75189, 253662, 193467, 222705, 186099, 257108] -; EMPTY-NEXT: Type Index Offsets: [{4096, 0}] -; EMPTY-NEXT: Hash Adjustments: [] -; EMPTY-NEXT: } +; EMPTY: TypeIndexOffsets [ +; EMPTY-NEXT: Index: 0x1000, Offset: 0 +; EMPTY-NEXT: ] ; EMPTY: DBI Stream { ; EMPTY-NEXT: Dbi Version: 19990903 ; EMPTY-NEXT: Age: 1 |

