mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
[pdbdump] Print out TPI hash key size.
llvm-svn: 272073
This commit is contained in:
parent
c8948855b6
commit
74a7524959
@ -43,6 +43,7 @@ public:
|
||||
uint16_t getTypeHashStreamIndex() const;
|
||||
uint16_t getTypeHashStreamAuxIndex() const;
|
||||
|
||||
uint32_t getHashKeySize() const;
|
||||
codeview::FixedStreamArray<support::ulittle32_t> getHashValues() const;
|
||||
codeview::FixedStreamArray<TypeIndexOffset> getTypeIndexOffsets() const;
|
||||
codeview::FixedStreamArray<TypeIndexOffset> getHashAdjustments() const;
|
||||
|
@ -153,6 +153,8 @@ uint16_t TpiStream::getTypeHashStreamAuxIndex() const {
|
||||
return Header->HashAuxStreamIndex;
|
||||
}
|
||||
|
||||
uint32_t TpiStream::getHashKeySize() const { return Header->HashKeySize; }
|
||||
|
||||
codeview::FixedStreamArray<support::ulittle32_t>
|
||||
TpiStream::getHashValues() const {
|
||||
return HashValues;
|
||||
|
@ -142,6 +142,7 @@
|
||||
; EMPTY-NEXT: )
|
||||
; EMPTY-NEXT: }
|
||||
; EMPTY: Hash {
|
||||
; 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: []
|
||||
@ -223,6 +224,7 @@
|
||||
; EMPTY-NEXT: )
|
||||
; EMPTY-NEXT: }
|
||||
; EMPTY: Hash {
|
||||
; 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: []
|
||||
|
@ -276,6 +276,7 @@ static void dumpTpiHash(ScopedPrinter &P, TpiStream &Tpi) {
|
||||
if (!opts::DumpTpiHash)
|
||||
return;
|
||||
DictScope DD(P, "Hash");
|
||||
P.printNumber("Hash Key Size", Tpi.getHashKeySize());
|
||||
codeview::FixedStreamArray<support::ulittle32_t> S = Tpi.getHashValues();
|
||||
P.printList("Values", Tpi.getHashValues());
|
||||
P.printList("Type Index Offsets", Tpi.getTypeIndexOffsets(),
|
||||
|
Loading…
Reference in New Issue
Block a user