Switch DIDescriptor to use a TrackingVH. - This makes it much safer to work with...
authorDaniel Dunbar <daniel@zuster.org>
Tue, 22 Sep 2009 02:03:18 +0000 (02:03 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 22 Sep 2009 02:03:18 +0000 (02:03 +0000)
commit48a097bfb6b2ab1ed67d2341a5b51c5d2b61af5b
treedbc8f37bb5869bf3fb46cd4c164f34aabd726640
parente5b18362dbafc8ee44ae864664fffe47066f685a
Switch DIDescriptor to use a TrackingVH. - This makes it much safer to work with debug info, since it was extraordinarily easy to have dangling pointers thanks to MDNode uniquing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82507 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DebugInfo.h
lib/Analysis/DebugInfo.cpp