aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-dwarfdump
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-10-07 19:52:41 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-10-07 19:52:41 +0000
commit20990397a4c9830bf37e393ec5239efeaa6c0431 (patch)
treeea8ee034114062a5bb4bed9a8533f3d268cc99bd /tools/llvm-dwarfdump
parent01a4db3ed4d199da33fa1ce0e1c7b7b9b1c3ccdf (diff)
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-dwarfdump')
-rw-r--r--tools/llvm-dwarfdump/llvm-dwarfdump.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
index 66d5a72ea4..ca0493de5d 100644
--- a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
+++ b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
@@ -56,9 +56,9 @@ static void DumpInput(const StringRef &Filename) {
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;