From: Frederic Riss Date: Sun, 15 Mar 2015 02:02:53 +0000 (+0000) Subject: [dsymutil] Add an way to iterate over a DebugMapObject symbols. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=469f438d4d181a8525ff041c8a5e457d655375e6;p=oota-llvm.git [dsymutil] Add an way to iterate over a DebugMapObject symbols. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232305 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/dsymutil/DebugMap.h b/tools/dsymutil/DebugMap.h index b24efa9f405..ee48b093d4f 100644 --- a/tools/dsymutil/DebugMap.h +++ b/tools/dsymutil/DebugMap.h @@ -125,6 +125,10 @@ public: llvm::StringRef getObjectFilename() const { return Filename; } + iterator_range::const_iterator> symbols() const { + return make_range(Symbols.begin(), Symbols.end()); + } + void print(raw_ostream &OS) const; #ifndef NDEBUG void dump() const;