diff options
author | Devang Patel <dpatel@apple.com> | 2009-01-20 00:58:55 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-01-20 00:58:55 +0000 |
commit | c2997f4a34eb544ca6ec85a5c9190feb998fc7a8 (patch) | |
tree | ff285a9b69db6c61b6c7b92afaabaa67c945ff31 /lib | |
parent | 2ab1d864af9a5dab90a4dd63f75b92d740b4f37f (diff) | |
download | external_llvm-c2997f4a34eb544ca6ec85a5c9190feb998fc7a8.zip external_llvm-c2997f4a34eb544ca6ec85a5c9190feb998fc7a8.tar.gz external_llvm-c2997f4a34eb544ca6ec85a5c9190feb998fc7a8.tar.bz2 |
Do not use DenseMap because the iterator is invalidated while constructing types. After all there was a reason why std::map was used initially!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62555 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index 18be9bf..65659ae 100644 --- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp @@ -779,11 +779,11 @@ private: /// GVToDieMap - Tracks the mapping of unit level debug informaton /// variables to debug information entries. - DenseMap<GlobalVariable *, DIE *> GVToDieMap; + std::map<GlobalVariable *, DIE *> GVToDieMap; /// GVToDIEntryMap - Tracks the mapping of unit level debug informaton /// descriptors to debug information entries using a DIEntry proxy. - DenseMap<GlobalVariable *, DIEntry *> GVToDIEntryMap; + std::map<GlobalVariable *, DIEntry *> GVToDIEntryMap; /// Globals - A map of globally visible named entities for this unit. /// |