summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/CodeView
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-05-09 17:44:58 +0000
committerZachary Turner <zturner@google.com>2016-05-09 17:44:58 +0000
commit9073ed6e5a674f663d7325ec5e41b94244a07421 (patch)
treea4593a756d13ec75138dbfafab53c162429a7af8 /llvm/lib/DebugInfo/CodeView
parent6d80100c6a6cf491ffe32138a015975901fcc3e0 (diff)
downloadbcm5719-llvm-9073ed6e5a674f663d7325ec5e41b94244a07421.tar.gz
bcm5719-llvm-9073ed6e5a674f663d7325ec5e41b94244a07421.zip
Make TypeIterator generic so it can iterate symbols too.
Reviewed By: amccarth Differential Revision: http://reviews.llvm.org/D20038 llvm-svn: 268941
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView')
-rw-r--r--llvm/lib/DebugInfo/CodeView/TypeDumper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/TypeDumper.cpp b/llvm/lib/DebugInfo/CodeView/TypeDumper.cpp
index 2aae7f5a84d..9c21d3fef1e 100644
--- a/llvm/lib/DebugInfo/CodeView/TypeDumper.cpp
+++ b/llvm/lib/DebugInfo/CodeView/TypeDumper.cpp
@@ -755,7 +755,7 @@ void CVTypeDumper::printTypeIndex(StringRef FieldName, TypeIndex TI) {
W.printHex(FieldName, TI.getIndex());
}
-bool CVTypeDumper::dump(const TypeIterator::TypeRecord &Record) {
+bool CVTypeDumper::dump(const TypeIterator::Record &Record) {
CVTypeDumperImpl Dumper(*this, W, PrintRecordBytes);
Dumper.visitTypeRecord(Record);
return !Dumper.hadError();
OpenPOWER on IntegriCloud