aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Object
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-07-15 18:39:24 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-07-15 18:39:24 +0000
commit739b65bf85cf7221b8a615e83dee11ec729e2649 (patch)
tree451ee518eed429563adacdd014534481612db042 /include/llvm/Object
parent07ea23aa2d17f701fa125442c20c1eba75b55fdb (diff)
downloadexternal_llvm-739b65bf85cf7221b8a615e83dee11ec729e2649.zip
external_llvm-739b65bf85cf7221b8a615e83dee11ec729e2649.tar.gz
external_llvm-739b65bf85cf7221b8a615e83dee11ec729e2649.tar.bz2
Teach llvm-objdump to disassemble sections symbol by symbol.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135289 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object')
-rw-r--r--include/llvm/Object/ObjectFile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Object/ObjectFile.h b/include/llvm/Object/ObjectFile.h
index 30246a3..98ac067 100644
--- a/include/llvm/Object/ObjectFile.h
+++ b/include/llvm/Object/ObjectFile.h
@@ -172,6 +172,10 @@ public:
return &Current;
}
+ const content_type &operator*() const {
+ return Current;
+ }
+
bool operator==(const content_iterator &other) const {
return Current == other.Current;
}