OSDN Git Service

Do not held on to DenseMap slot accross map insertion. The insertion may cause the...
authorDevang Patel <dpatel@apple.com>
Tue, 27 Oct 2009 20:47:17 +0000 (20:47 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 27 Oct 2009 20:47:17 +0000 (20:47 +0000)
commitbdf45cbe1526e33c17a17acd7467cb65d32b6a4f
tree28d0409bbde970c74afdeefcaef3359aa998309a
parenteadeffb30658de2abc798178dd7b645e68972db0
Do not held on to DenseMap slot accross map insertion. The insertion may cause the map to grow rending the slot invalid.
Use this opportunity to use ValueMap instead of DenseMap.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85298 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h