forked from OSchip/llvm-project
parent
c14c249343
commit
11c06b354c
|
@ -631,14 +631,14 @@ static Error dumpTpiStream(ScopedPrinter &P, PDBFile &File,
|
||||||
|
|
||||||
auto TpiS = (StreamIdx == StreamTPI) ? File.getPDBTpiStream()
|
auto TpiS = (StreamIdx == StreamTPI) ? File.getPDBTpiStream()
|
||||||
: File.getPDBIpiStream();
|
: File.getPDBIpiStream();
|
||||||
if (auto EC = TpiS.takeError())
|
if (auto EC = TpiS.takeError())
|
||||||
return EC;
|
return EC;
|
||||||
TpiStream &Tpi = TpiS.get();
|
TpiStream &Tpi = TpiS.get();
|
||||||
|
|
||||||
if (DumpRecords || DumpRecordBytes) {
|
if (DumpRecords || DumpRecordBytes) {
|
||||||
DictScope D(P, Label);
|
DictScope D(P, Label);
|
||||||
|
|
||||||
P.printNumber(VerLabel, Tpi.getTpiVersion());
|
P.printNumber(VerLabel, Tpi.getTpiVersion());
|
||||||
P.printNumber("Record count", Tpi.NumTypeRecords());
|
P.printNumber("Record count", Tpi.NumTypeRecords());
|
||||||
|
|
||||||
ListScope L(P, "Records");
|
ListScope L(P, "Records");
|
||||||
|
|
Loading…
Reference in New Issue