diff options
author | Alexey Samsonov <samsonov@google.com> | 2014-03-13 13:52:54 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2014-03-13 13:52:54 +0000 |
commit | b920dfe02b4fb88bafa64ab85800c00faba47f5d (patch) | |
tree | a65cfaf7f9f3c04d04f8cf33f842fc683daae575 /tools/llvm-symbolizer | |
parent | f8909fa1406eba023f9fadfa7e8182630d3ea14a (diff) | |
download | llvm-b920dfe02b4fb88bafa64ab85800c00faba47f5d.tar.gz llvm-b920dfe02b4fb88bafa64ab85800c00faba47f5d.tar.bz2 llvm-b920dfe02b4fb88bafa64ab85800c00faba47f5d.tar.xz |
[C++11] Introduce ObjectFile::sections().
Summary:
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.
Reviewers: rafael
Reviewed By: rafael
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D3069
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203799 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-symbolizer')
0 files changed, 0 insertions, 0 deletions