From 87df867fd7f23cd2128a7ee38f4cebeb85e948a2 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Sat, 9 Jan 2010 01:44:59 +0000 Subject: Delete NamedMDSymTable while destrucing Module. Disable copy ctor and operator= for NamedMDSymTable. Hide typedef that should be public. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93041 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Module.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/VMCore/Module.cpp') diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp index e25a29517a..03b1252849 100644 --- a/lib/VMCore/Module.cpp +++ b/lib/VMCore/Module.cpp @@ -71,6 +71,7 @@ Module::~Module() { NamedMDList.clear(); delete ValSymTab; delete TypeSymTab; + delete NamedMDSymTab; } /// Target endian information... -- cgit v1.2.3-18-g5258