[llvm] r180009 - Add the same todo about a command iterator interface into the
Eric Christopher
echristo at gmail.com
Mon Apr 22 03:27:33 PDT 2013
Author: echristo
Date: Mon Apr 22 05:27:32 2013
New Revision: 180009
URL: http://llvm.org/viewvc/llvm-project?rev=180009&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm/Object/MachO.h
Modified: llvm/trunk/include/llvm/Object/MachO.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/MachO.h?rev=180009&r1=180008&r2=180009&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/MachO.h (original)
+++ llvm/trunk/include/llvm/Object/MachO.h Mon Apr 22 05:27:32 2013
@@ -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;
More information about the llvm-commits
mailing list