diff options
author | Zachary Turner <zturner@google.com> | 2016-05-27 18:47:20 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-05-27 18:47:20 +0000 |
commit | 1de49c9ffde764550981d5c65eccfe887aa38f08 (patch) | |
tree | eb526b38e36eb5e92b749f47a7296a4635c11f02 /llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp | |
parent | 6c247c8cc8054c0c4cc18f1d7c21c5fdb8b1d0e3 (diff) | |
download | bcm5719-llvm-1de49c9ffde764550981d5c65eccfe887aa38f08.tar.gz bcm5719-llvm-1de49c9ffde764550981d5c65eccfe887aa38f08.zip |
Resubmit "[pdb] Allow zero-copy read support for symbol streams.""
Due to differences in template instantiation rules, it is not
portable to static_assert(false) inside of an invalid specialization
of a template. Instead I just =delete the method so that it can't
be used, and leave a comment that it must be explicitly specialized.
llvm-svn: 271027
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp b/llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp index 03b711282b4..7d405ec2453 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 SymbolIterator::Record &Record) { +bool CVSymbolDumper::dump(const CVRecord<SymbolKind> &Record) { CVSymbolDumperImpl Dumper(CVTD, ObjDelegate.get(), W, PrintRecordBytes); Dumper.visitSymbolRecord(Record); return !Dumper.hadError(); |