summaryrefslogtreecommitdiff
path: root/include/llvm/Object/MachO.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-04-22 10:27:32 +0000
committerEric Christopher <echristo@gmail.com>2013-04-22 10:27:32 +0000
commit8d8ac09bfba6686bbed262c764502ae3de626ad4 (patch)
tree859cbd743c3b4695dfc3038891c924f38b282025 /include/llvm/Object/MachO.h
parent4915704f33b9e59bdeb0e8511e3ed85af6a515b8 (diff)
downloadllvm-8d8ac09bfba6686bbed262c764502ae3de626ad4.tar.gz
llvm-8d8ac09bfba6686bbed262c764502ae3de626ad4.tar.bz2
llvm-8d8ac09bfba6686bbed262c764502ae3de626ad4.tar.xz
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/llvm/Object/MachO.h')
-rw-r--r--include/llvm/Object/MachO.h3
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;