mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
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
This commit is contained in:
@ -779,11 +779,11 @@ private:
|
|||||||
|
|
||||||
/// GVToDieMap - Tracks the mapping of unit level debug informaton
|
/// GVToDieMap - Tracks the mapping of unit level debug informaton
|
||||||
/// variables to debug information entries.
|
/// variables to debug information entries.
|
||||||
DenseMap<GlobalVariable *, DIE *> GVToDieMap;
|
std::map<GlobalVariable *, DIE *> GVToDieMap;
|
||||||
|
|
||||||
/// GVToDIEntryMap - Tracks the mapping of unit level debug informaton
|
/// GVToDIEntryMap - Tracks the mapping of unit level debug informaton
|
||||||
/// descriptors to debug information entries using a DIEntry proxy.
|
/// 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.
|
/// Globals - A map of globally visible named entities for this unit.
|
||||||
///
|
///
|
||||||
|
Reference in New Issue
Block a user