1 //===-- DWARFDIECollection.h ------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef SymbolFileDWARF_DWARFDIECollection_h_
11 #define SymbolFileDWARF_DWARFDIECollection_h_
13 #include "SymbolFileDWARF.h"
16 class DWARFDIECollection
19 DWARFDIECollection() :
28 Append (const DWARFDebugInfoEntry *die);
31 Dump(lldb_private::Stream *s, const char* title) const;
33 const DWARFDebugInfoEntry*
34 GetDIEPtrAtIndex(uint32_t idx) const;
37 Insert(const DWARFDebugInfoEntry *die);
43 typedef std::vector<const DWARFDebugInfoEntry *> collection;
44 typedef collection::iterator iterator;
45 typedef collection::const_iterator const_iterator;
47 collection m_dies; // Ordered list of die offsets
51 #endif // SymbolFileDWARF_DWARFDIECollection_h_