summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-11-22 03:38:40 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-11-22 03:38:40 +0000
commit435890a4fe0db7ac309cf73cbe3648a3c1052b4c (patch)
tree78de88d381567287ed51d9c68681128afda210c9 /llvm/lib/Object/COFFObjectFile.cpp
parent3448ae5add29fc0e462bc79ea3fba5d14f07ed9f (diff)
downloadbcm5719-llvm-435890a4fe0db7ac309cf73cbe3648a3c1052b4c.tar.gz
bcm5719-llvm-435890a4fe0db7ac309cf73cbe3648a3c1052b4c.zip
Object: Make SymbolicFile::symbol_{begin,end}() virtual and remove unnecessary wrappers.
llvm-svn: 287611
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
-rw-r--r--llvm/lib/Object/COFFObjectFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Object/COFFObjectFile.cpp b/llvm/lib/Object/COFFObjectFile.cpp
index 243f1aec6b5..a2d8f12449e 100644
--- a/llvm/lib/Object/COFFObjectFile.cpp
+++ b/llvm/lib/Object/COFFObjectFile.cpp
@@ -771,13 +771,13 @@ COFFObjectFile::COFFObjectFile(MemoryBufferRef Object, std::error_code &EC)
EC = std::error_code();
}
-basic_symbol_iterator COFFObjectFile::symbol_begin_impl() const {
+basic_symbol_iterator COFFObjectFile::symbol_begin() const {
DataRefImpl Ret;
Ret.p = getSymbolTable();
return basic_symbol_iterator(SymbolRef(Ret, this));
}
-basic_symbol_iterator COFFObjectFile::symbol_end_impl() const {
+basic_symbol_iterator COFFObjectFile::symbol_end() const {
// The symbol table ends where the string table begins.
DataRefImpl Ret;
Ret.p = reinterpret_cast<uintptr_t>(StringTable);
OpenPOWER on IntegriCloud