[PATCH] [C++11] Introduce ObjectFile::sections().
Alexey Samsonov
samsonov at google.com
Thu Mar 13 05:53:59 PDT 2014
Hi rafael,
This adds ObjectFile::section_iterator_range, that allows to write
range-based for-loops running over all sections of a given file.
Several files from lib/ are converted to the new interface. Similar fixes
should be applied to a variety of llvm-* tools.
http://llvm-reviews.chandlerc.com/D3069
Files:
lib/MC/MCObjectSymbolizer.cpp
lib/MC/MCObjectDisassembler.cpp
lib/DebugInfo/DWARFContext.cpp
lib/Object/MachOObjectFile.cpp
include/llvm/Object/ObjectFile.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3069.1.patch
Type: text/x-patch
Size: 9666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140313/96167acd/attachment.bin>
More information about the llvm-commits
mailing list