1 //===-- DWARFDebugPubnames.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_DWARFDebugPubnames_h_
11 #define SymbolFileDWARF_DWARFDebugPubnames_h_
13 #include "SymbolFileDWARF.h"
17 #include "DWARFDebugPubnamesSet.h"
19 class DWARFDebugPubnames {
22 bool Extract(const lldb_private::DWARFDataExtractor &data);
23 bool GeneratePubnames(SymbolFileDWARF *dwarf2Data);
24 bool GeneratePubBaseTypes(SymbolFileDWARF *dwarf2Data);
26 void Dump(lldb_private::Log *s) const;
27 bool Find(const char *name, bool ignore_case,
28 std::vector<dw_offset_t> &die_offset_coll) const;
29 bool Find(const lldb_private::RegularExpression ®ex,
30 std::vector<dw_offset_t> &die_offsets) const;
33 typedef std::list<DWARFDebugPubnamesSet> collection;
34 typedef collection::iterator iterator;
35 typedef collection::const_iterator const_iterator;
40 #endif // SymbolFileDWARF_DWARFDebugPubnames_h_