diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-07 19:52:41 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-07 19:52:41 +0000 |
commit | 20990397a4c9830bf37e393ec5239efeaa6c0431 (patch) | |
tree | ea8ee034114062a5bb4bed9a8533f3d268cc99bd /tools/llvm-size | |
parent | 01a4db3ed4d199da33fa1ce0e1c7b7b9b1c3ccdf (diff) | |
download | external_llvm-20990397a4c9830bf37e393ec5239efeaa6c0431.zip external_llvm-20990397a4c9830bf37e393ec5239efeaa6c0431.tar.gz external_llvm-20990397a4c9830bf37e393ec5239efeaa6c0431.tar.bz2 |
Fix a few changes I missed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141392 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-size')
-rw-r--r-- | tools/llvm-size/llvm-size.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/llvm-size/llvm-size.cpp b/tools/llvm-size/llvm-size.cpp index 99d5be5..70e5cb9 100644 --- a/tools/llvm-size/llvm-size.cpp +++ b/tools/llvm-size/llvm-size.cpp @@ -112,9 +112,9 @@ static void PrintObjectSectionSizes(ObjectFile *o) { std::size_t max_size_len = strlen("size"); std::size_t max_addr_len = strlen("addr"); error_code ec; - for (ObjectFile::section_iterator i = o->begin_sections(), - e = o->end_sections(); i != e; - i.increment(ec)) { + for (section_iterator i = o->begin_sections(), + e = o->end_sections(); i != e; + i.increment(ec)) { if (error(ec)) return; uint64_t size = 0; @@ -154,9 +154,9 @@ static void PrintObjectSectionSizes(ObjectFile *o) { << "%#" << max_addr_len << radix_fmt << "\n"; // Print each section. - for (ObjectFile::section_iterator i = o->begin_sections(), - e = o->end_sections(); i != e; - i.increment(ec)) { + for (section_iterator i = o->begin_sections(), + e = o->end_sections(); i != e; + i.increment(ec)) { if (error(ec)) return; @@ -190,9 +190,9 @@ static void PrintObjectSectionSizes(ObjectFile *o) { // Make one pass over the section table to calculate sizes. error_code ec; - for (ObjectFile::section_iterator i = o->begin_sections(), - e = o->end_sections(); i != e; - i.increment(ec)) { + for (section_iterator i = o->begin_sections(), + e = o->end_sections(); i != e; + i.increment(ec)) { if (error(ec)) return; |