diff options
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
-rw-r--r-- | llvm/lib/Object/COFFObjectFile.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/Object/COFFObjectFile.cpp b/llvm/lib/Object/COFFObjectFile.cpp index ea134b2..cf8ff31 100644 --- a/llvm/lib/Object/COFFObjectFile.cpp +++ b/llvm/lib/Object/COFFObjectFile.cpp @@ -768,17 +768,6 @@ std::error_code COFFObjectFile::getString(uint32_t Offset, return object_error::success; } -template <typename coff_symbol_type> -std::error_code -COFFObjectFile::getSymbol(uint32_t Index, - const coff_symbol_type *&Result) const { - if (Index < getNumberOfSymbols()) - Result = reinterpret_cast<coff_symbol_type *>(getSymbolTable()) + Index; - else - return object_error::parse_failed; - return object_error::success; -} - std::error_code COFFObjectFile::getSymbolName(COFFSymbolRef Symbol, StringRef &Res) const { // Check for string table entry. First 4 bytes are 0. |