[llvm] r232305 - [dsymutil] Add an way to iterate over a DebugMapObject symbols.
Frederic Riss
friss at apple.com
Sat Mar 14 19:02:53 PDT 2015
Author: friss
Date: Sat Mar 14 21:02:53 2015
New Revision: 232305
URL: http://llvm.org/viewvc/llvm-project?rev=232305&view=rev
Log:
[dsymutil] Add an way to iterate over a DebugMapObject symbols.
Modified:
llvm/trunk/tools/dsymutil/DebugMap.h
Modified: llvm/trunk/tools/dsymutil/DebugMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/DebugMap.h?rev=232305&r1=232304&r2=232305&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/DebugMap.h (original)
+++ llvm/trunk/tools/dsymutil/DebugMap.h Sat Mar 14 21:02:53 2015
@@ -125,6 +125,10 @@ public:
llvm::StringRef getObjectFilename() const { return Filename; }
+ iterator_range<StringMap<SymbolMapping>::const_iterator> symbols() const {
+ return make_range(Symbols.begin(), Symbols.end());
+ }
+
void print(raw_ostream &OS) const;
#ifndef NDEBUG
void dump() const;
More information about the llvm-commits
mailing list