Do not use DenseMap because the iterator is invalidated while constructing types...
authorDevang Patel <dpatel@apple.com>
Tue, 20 Jan 2009 00:58:55 +0000 (00:58 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 20 Jan 2009 00:58:55 +0000 (00:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62555 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfWriter.cpp

index 18be9bf3b5c8db5f74c8e2d7529550ff0cf39a7e..65659aecc83bb53466c189eacd55226d5d0b0095 100644 (file)
@@ -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.
   ///