diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-21 20:10:59 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-21 20:10:59 +0000 |
commit | 91f86b7e1c07e73667537e6b849f9977caeeed3d (patch) | |
tree | eec10058b9d06564ce0339282b7b202d1f76c17d /include/llvm/Object/COFF.h | |
parent | 3825c08a609de48d5752e4d74e3c03cca651f894 (diff) | |
download | llvm-91f86b7e1c07e73667537e6b849f9977caeeed3d.tar.gz llvm-91f86b7e1c07e73667537e6b849f9977caeeed3d.tar.bz2 llvm-91f86b7e1c07e73667537e6b849f9977caeeed3d.tar.xz |
Add a SymbolicFile interface between Binary and ObjectFile.
This interface allows IRObjectFile to be implemented without having dummy
methods for all section and segment related methods.
Both llvm-ar and llvm-nm are changed to use it. Unfortunately the mangler is
still not plugged in since it requires some refactoring to make a Module hold
a DataLayout.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201881 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object/COFF.h')
-rw-r--r-- | include/llvm/Object/COFF.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h index d38ed2e096..dfcff2b411 100644 --- a/include/llvm/Object/COFF.h +++ b/include/llvm/Object/COFF.h @@ -355,8 +355,8 @@ protected: public: COFFObjectFile(MemoryBuffer *Object, error_code &EC, bool BufferOwned = true); - symbol_iterator symbol_begin() const LLVM_OVERRIDE; - symbol_iterator symbol_end() const LLVM_OVERRIDE; + basic_symbol_iterator symbol_begin_impl() const LLVM_OVERRIDE; + basic_symbol_iterator symbol_end_impl() const LLVM_OVERRIDE; library_iterator needed_library_begin() const LLVM_OVERRIDE; library_iterator needed_library_end() const LLVM_OVERRIDE; section_iterator section_begin() const LLVM_OVERRIDE; |