summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h')
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
index b4bbf93a1cd..4fd0ba00d13 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
+++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
@@ -13,7 +13,6 @@
// C Includes
// C++ Includes
#include <list>
-#include <memory>
#include <map>
#include <vector>
@@ -567,15 +566,15 @@ protected:
lldb_private::DataExtractor m_data_apple_namespaces;
lldb_private::DataExtractor m_data_apple_objc;
- // The auto_ptr items below are generated on demand if and when someone accesses
+ // The unique pointer items below are generated on demand if and when someone accesses
// them through a non const version of this class.
- std::auto_ptr<DWARFDebugAbbrev> m_abbr;
- std::auto_ptr<DWARFDebugInfo> m_info;
- std::auto_ptr<DWARFDebugLine> m_line;
- std::auto_ptr<DWARFMappedHash::MemoryTable> m_apple_names_ap;
- std::auto_ptr<DWARFMappedHash::MemoryTable> m_apple_types_ap;
- std::auto_ptr<DWARFMappedHash::MemoryTable> m_apple_namespaces_ap;
- std::auto_ptr<DWARFMappedHash::MemoryTable> m_apple_objc_ap;
+ STD_UNIQUE_PTR(DWARFDebugAbbrev) m_abbr;
+ STD_UNIQUE_PTR(DWARFDebugInfo) m_info;
+ STD_UNIQUE_PTR(DWARFDebugLine) m_line;
+ STD_UNIQUE_PTR(DWARFMappedHash::MemoryTable) m_apple_names_ap;
+ STD_UNIQUE_PTR(DWARFMappedHash::MemoryTable) m_apple_types_ap;
+ STD_UNIQUE_PTR(DWARFMappedHash::MemoryTable) m_apple_namespaces_ap;
+ STD_UNIQUE_PTR(DWARFMappedHash::MemoryTable) m_apple_objc_ap;
NameToDIE m_function_basename_index; // All concrete functions
NameToDIE m_function_fullname_index; // All concrete functions
NameToDIE m_function_method_index; // All inlined functions
@@ -589,7 +588,7 @@ protected:
m_using_apple_tables:1;
lldb_private::LazyBool m_supports_DW_AT_APPLE_objc_complete_type;
- std::auto_ptr<DWARFDebugRanges> m_ranges;
+ STD_UNIQUE_PTR(DWARFDebugRanges) m_ranges;
UniqueDWARFASTTypeMap m_unique_ast_type_map;
typedef llvm::SmallPtrSet<const DWARFDebugInfoEntry *, 4> DIEPointerSet;
typedef llvm::DenseMap<const DWARFDebugInfoEntry *, clang::DeclContext *> DIEToDeclContextMap;
OpenPOWER on IntegriCloud