[PATCH] [Object, MachO] Introduce MachOObjectFile::load_commands() range iterator.
Alexey Samsonov
vonosmas at gmail.com
Fri May 29 18:12:48 PDT 2015
Hi rafael, lhames, loladiro,
Now users don't have to manually deal with getFirstLoadCommandInfo() /
getNextLoadCommandInfo(), calculate the number of load segments, etc.
Additionally, the iterator has a support for error handling, that
would allow to detect the case when the next load command cannot be
parsed.
http://reviews.llvm.org/D10144
Files:
include/llvm/Object/MachO.h
lib/Object/MachOObjectFile.cpp
tools/llvm-objdump/MachODump.cpp
tools/llvm-size/llvm-size.cpp
tools/macho-dump/macho-dump.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10144.26840.patch
Type: text/x-patch
Size: 16352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150530/80103bfa/attachment.bin>
More information about the llvm-commits
mailing list