diff options
author | Eric Christopher <echristo@gmail.com> | 2013-04-22 10:27:32 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-04-22 10:27:32 +0000 |
commit | 8d8ac09bfba6686bbed262c764502ae3de626ad4 (patch) | |
tree | 859cbd743c3b4695dfc3038891c924f38b282025 /include | |
parent | 4915704f33b9e59bdeb0e8511e3ed85af6a515b8 (diff) |
Add the same todo about a command iterator interface into the
other mach-o object file as well.
TODO: One interface to rule them all.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Object/MachO.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h index cec649e4b1..d8598ebdcf 100644 --- a/include/llvm/Object/MachO.h +++ b/include/llvm/Object/MachO.h @@ -84,6 +84,9 @@ public: virtual error_code getLibraryNext(DataRefImpl LibData, LibraryRef &Res) const; virtual error_code getLibraryPath(DataRefImpl LibData, StringRef &Res) const; + // TODO: Would be useful to have an iterator based version + // of the load command interface too. + virtual symbol_iterator begin_symbols() const; virtual symbol_iterator end_symbols() const; |