diff options
author | Ed Maste <emaste@FreeBSD.org> | 2013-11-06 16:48:53 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2013-11-06 16:48:53 +0000 |
commit | f21a844f60ae6c74fcf1fddca32461acce3c1ee0 (patch) | |
tree | 56d79f94966870db1cecd65a7264510a25fd1cba /source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.h | |
parent | 37d22554be9f5a677dad2a95b7ef22fe59c66a8a (diff) | |
download | src-f21a844f60ae6c74fcf1fddca32461acce3c1ee0.tar.gz src-f21a844f60ae6c74fcf1fddca32461acce3c1ee0.zip |
Import lldb as of SVN r194122vendor/lldb/lldb-r194122
Sponsored by: DARPA, AFRL
Notes
Notes:
svn path=/vendor/lldb/dist/; revision=257752
svn path=/vendor/lldb/lldb-r194122/; revision=257753; tag=vendor/lldb/lldb-r194122
Diffstat (limited to 'source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.h')
-rw-r--r-- | source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.h b/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.h index 941c83e58a44..075807b2dcc3 100644 --- a/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.h +++ b/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.h @@ -13,7 +13,7 @@ #include "SymbolFileDWARF.h" #include <string> #include <vector> -#if __cplusplus >= 201103L +#if __cplusplus >= 201103L || defined(_MSC_VER) #include <unordered_map> #else #include <ext/hash_map> @@ -70,7 +70,7 @@ public: uint32_t NumDescriptors() const { return m_descriptors.size(); } void AddDescriptor(dw_offset_t cu_rel_offset, const char* name); void Clear(); - bool Extract(const lldb_private::DataExtractor& debug_pubnames_data, lldb::offset_t *offset_ptr); + bool Extract(const lldb_private::DWARFDataExtractor& debug_pubnames_data, lldb::offset_t *offset_ptr); void Dump(lldb_private::Log *s) const; void InitNameIndexes() const; void Find(const char* name, bool ignore_case, std::vector<dw_offset_t>& die_offset_coll) const; @@ -87,7 +87,7 @@ protected: dw_offset_t m_offset; Header m_header; -#if __cplusplus >= 201103L +#if __cplusplus >= 201103L || defined(_MSC_VER) typedef std::unordered_multimap<const char*, uint32_t, std::hash<const char*>, CStringEqualBinaryPredicate> cstr_to_index_mmap; #else typedef __gnu_cxx::hash_multimap<const char*, uint32_t, __gnu_cxx::hash<const char*>, CStringEqualBinaryPredicate> cstr_to_index_mmap; |