Fix a few changes I missed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141392 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
index 66d5a72..ca0493d 100644
--- a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
+++ b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
@@ -56,9 +56,9 @@
StringRef DebugStringSection;
error_code ec;
- for (ObjectFile::section_iterator i = Obj->begin_sections(),
- e = Obj->end_sections();
- i != e; i.increment(ec)) {
+ for (section_iterator i = Obj->begin_sections(),
+ e = Obj->end_sections();
+ i != e; i.increment(ec)) {
StringRef name;
i->getName(name);
StringRef data;
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 @@
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 @@
<< "%#" << 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 @@
// 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;