From 8d8ac09bfba6686bbed262c764502ae3de626ad4 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 22 Apr 2013 10:27:32 +0000 Subject: 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 --- include/llvm/Object/MachO.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/llvm/Object/MachO.h') 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; -- cgit v1.2.3