Delete MDNodes when LLVMContext is destroyed. Previous attempts: r97918, r97788.
authorJeffrey Yasskin <jyasskin@google.com>
Sat, 13 Mar 2010 01:26:15 +0000 (01:26 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Sat, 13 Mar 2010 01:26:15 +0000 (01:26 +0000)
commit6f555ca2cd0bba50542adcbb131f541ae70d34cd
tree551444ef3af31f75e10dbbee06c3470dff7a1ae8
parent815baebe1c8dc02accf128ae10dff9a1742d3244
Delete MDNodes when LLVMContext is destroyed.  Previous attempts: r97918, r97788.

Tested: clang debug bootstrap, llvm-gcc bootstrap, `make check-lit`
after configuring with --with-llvmgccdir (and this did run the
FrontendC* tests this time)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98410 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Metadata.h
lib/VMCore/LLVMContextImpl.h
lib/VMCore/Metadata.cpp