diff options
author | Devang Patel <dpatel@apple.com> | 2010-01-09 01:44:59 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-01-09 01:44:59 +0000 |
commit | 87df867fd7f23cd2128a7ee38f4cebeb85e948a2 (patch) | |
tree | 841eb85479d7e5665734222ef27cde30548e6f45 /lib/VMCore/Module.cpp | |
parent | d2035203a0359eedbc1cf4ae77d43176e8455cd4 (diff) |
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
Diffstat (limited to 'lib/VMCore/Module.cpp')
-rw-r--r-- | lib/VMCore/Module.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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... |