Add the same todo about a command iterator interface into the
authorEric Christopher <echristo@gmail.com>
Mon, 22 Apr 2013 10:27:32 +0000 (10:27 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 22 Apr 2013 10:27:32 +0000 (10:27 +0000)
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

index cec649e4b178710dea98c24b61d5d5a2604d1c41..d8598ebdcf076c35324ea98ac78801eae54e2165 100644 (file)
@@ -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;