diff options
author | Chad Rosier <mcrosier@codeaurora.org> | 2016-05-27 18:31:02 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@codeaurora.org> | 2016-05-27 18:31:02 +0000 |
commit | 6c247c8cc8054c0c4cc18f1d7c21c5fdb8b1d0e3 (patch) | |
tree | 1010a3bf309175871a3e382958e575eda8e559c0 /llvm/lib/DebugInfo/CodeView | |
parent | 3a9a23ae62be9959ea1d98ed22fea561efd9cf03 (diff) | |
download | bcm5719-llvm-6c247c8cc8054c0c4cc18f1d7c21c5fdb8b1d0e3.tar.gz bcm5719-llvm-6c247c8cc8054c0c4cc18f1d7c21c5fdb8b1d0e3.zip |
Revert "[pdb] Allow zero-copy read support for symbol streams."
This reverts commit r271024 due to error: static_assert failed
"You must either provide a specialization of VarStreamArrayExtractor
or a custom extractor"
llvm-svn: 271026
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView')
-rw-r--r-- | llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/DebugInfo/CodeView/TypeDumper.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp b/llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp index 7d405ec2453..03b711282b4 100644 --- a/llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp +++ b/llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp @@ -866,7 +866,7 @@ void CVSymbolDumperImpl::visitUnknownSymbol(SymbolKind Kind, W.printNumber("Length", uint32_t(Data.size())); } -bool CVSymbolDumper::dump(const CVRecord<SymbolKind> &Record) { +bool CVSymbolDumper::dump(const SymbolIterator::Record &Record) { CVSymbolDumperImpl Dumper(CVTD, ObjDelegate.get(), W, PrintRecordBytes); Dumper.visitSymbolRecord(Record); return !Dumper.hadError(); diff --git a/llvm/lib/DebugInfo/CodeView/TypeDumper.cpp b/llvm/lib/DebugInfo/CodeView/TypeDumper.cpp index 1db1e54f430..74cb2d9e9c4 100644 --- a/llvm/lib/DebugInfo/CodeView/TypeDumper.cpp +++ b/llvm/lib/DebugInfo/CodeView/TypeDumper.cpp @@ -676,7 +676,7 @@ void CVTypeDumper::printTypeIndex(StringRef FieldName, TypeIndex TI) { W->printHex(FieldName, TI.getIndex()); } -bool CVTypeDumper::dump(const CVRecord<TypeLeafKind> &Record) { +bool CVTypeDumper::dump(const TypeIterator::Record &Record) { assert(W && "printer should not be null"); CVTypeDumperImpl Dumper(*this, *W, PrintRecordBytes); Dumper.visitTypeRecord(Record); |